photo

Andrew Davies


University of Cape Town

Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 1

1

risposta