Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/python-for-matlab-development
/ Fn
Function
Fn
code/optim/sin_decay_test_data.py:33–35 ·
view source on GitHub ↗
(t, A, B, C, D)
Source
from the content-addressed store, hash-verified
31
A, B, C, D = 1, .2, 1.4, 10
32
33
def
Fn(t, A, B, C, D):
34
return
A*np.exp(-B*t)*\
35
np.sin(C*t) + D
36
37
np.random.seed(234567)
38
n_pts = 1000
Callers
1
sin_decay_test_data.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected