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...

meer dan 10 jaar 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) ...

meer dan 10 jaar 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 ...

meer dan 10 jaar 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)...

meer dan 10 jaar 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...

meer dan 10 jaar ago | 1 answer | 1

1

answer