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