Doing a phase-space portrait in matlab

  • Context: MATLAB 
  • Thread starter Thread starter bagram
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 5K views
bagram
Messages
5
Reaction score
0
So I have this system of equations:

[tex]\binom{x_{n+1}}{y_{n+1}}=\begin{pmatrix}e^{r} & 0 \\ 0 & e^{-r} \end{pmatrix}\begin{pmatrix}cos(\phi+I_{n}) & -sin(\phi+I_{n}) \\ sin(\phi+I_{n}) & cos(\phi+I_{n}) \end{pmatrix}\begin{pmatrix}x_{n}\\ y_{n} \end{pmatrix}[/tex]

where
[tex]I_{n}=x_{n}^2+y_{n}^2[/tex]

I have no idea how to plot that in MATLAB as a phase-space portrait...

Any help would be great
 
Physics news on Phys.org
i've tried, generating a set and points and just sketching it and tried using the ezsurf/surf function to do it... but both ways failed. Does completing the derivative at t=0 the same as n=0?