MCPcopy 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

31A, B, C, D = 1, .2, 1.4, 10
32
33def Fn(t, A, B, C, D):
34 return A*np.exp(-B*t)*\
35 np.sin(C*t) + D
36
37np.random.seed(234567)
38n_pts = 1000

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected