Community Profile

photo

Andrew Davies


University of Cape Town

Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 1

1

answer