You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from numpy import array, hstack, zeros, linspace, pi,
from numpy.linalg import solve
from scipy.integrate import odeint
in this cell
x0 = hstack(( 0, pi / 2 * ones(len(q) - 1), 1e-3 * ones(len(u)) )) # Initial conditions, q and u
t = linspace(0, 10, 1000) # Time vector
y = odeint(right_hand_side, x0, t, args=(parameter_vals,)) # Actual integration
The text was updated successfully, but these errors were encountered:
Are you missing import for ones() ?
The text was updated successfully, but these errors were encountered: