Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/python-for-matlab-development
/ f
Function
f
code/griddata/spiral_interp.py:32–34 ·
view source on GitHub ↗
(x,y)
Source
from the content-addressed store, hash-verified
30
import
numpy
as
np
31
from
scipy.interpolate
import
griddata
32
def
f(x,y):
33
return
x + 2*(np.cos(7*x)+
34
np.sin(5*y)) + 3*y*np.sin(6*x)
35
K = 0.005
36
# subsample f(x,y) at 114 points
37
t = np.linspace(0,800,num=1100)
Callers
1
spiral_interp.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected