Fast/Finite Fourier Transform

1 view (last 30 days)
Yeetesh
Yeetesh on 7 Dec 2013
Answered: Walter Roberson on 7 Dec 2013
I want to do a 'fft' of the first two equations in the article. I managed to put them into a first order function.
function dot=fitz(t,v);
dot=zeros(2,1);
dot(2)=0.08*(v(1)+0.7-0.8*v(2));
dot(1)=v(1)-(v(1)^3)/3-v(2);
%%%%I have also managed to solve by plotting it with ode45.
[t,v]=ode45('fitz',[0 200],[0,0]);
plot(t,v(:,2),t,v(:,1));
plot(t,v)
%%%But how would I be able to do a Fourier analysis of the two non linear ODE's?
%%%An example would also help me understand it.

Answers (1)

Walter Roberson
Walter Roberson on 7 Dec 2013
I think you want a non-equispaced FFT, NFFT; see http://www.cims.nyu.edu/cmcl/nufft/nufft.html
The "t" would be the time points and the "v" would be the values.

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!