Feeds
提问
Getting the wrong plot?
function dLdt = Lorentz(t,xyz,s,b,r) xyz = [3;2;3]; s = 10; b = 8/3; r = 0.5; dx = s*(xyz(2) - xyz(1)); dy = r...
10 years 前 | 0 个回答 | 0
0
个回答提问
Need to return a column vector?
function dLdt = Lorentz(t,xyz) x=xyz(1); y=xyz(2); z=xyz(3); s = 10; b = 8/3; r = 0.5; dx = s*(y - x) ...
10 years 前 | 1 个回答 | 0
1
个回答提问
My input method isn't working?
Something is going wrong. Here is the code i'm trying to get to work %function dLdt = Lorentz(t,x,y,z) %s = 10 %b = 8/3 ...
10 years 前 | 2 个回答 | 0
2
个回答提问
What's wrong with my code?
function dxdt = pendulum(t,x) L = 1; theta = x(1); gamma = x(2); dtheta = gamma; dgamma = -(9.8/L)*sin(theta)...
10 years 前 | 1 个回答 | 0
1
个回答提问
How do I plot a particular solution (with given initial conditions) of 3 differential equations with 3 variables?
The equations are the Lorentz equations: x(dot) = sigma(y-x) y(dot) = rx - y - xz z(dot) = xy - bz where sigma, r an...
10 years 前 | 1 个回答 | 1