Signal Processing and the Duffing ODE

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 1K views
member 428835
Hi PF!

Attached are two plots: signal.pdf is a solution from the Duffing ODE, and plots vertical displacement over time, both the raw signal (blue) and the reconstructed signal from an FFT (red). I've also shown a zoomed in view so you can see how oscillatory the signal is.

pow.pdf plots the FFT, showing one main frequency observed.

My question is, have I correctly reconstructed this signal? Sure look like I've done something terribly wrong, but perhaps I have not?
 

Attachments

Physics news on Phys.org
Yep! Only took me all afternoon to figure it our lol
 
There that's frequency constraint aka the Nyquist frequency that always gets me.

When we first did FFT plots in MATLAB we constructed a dual signal by adding two sine curves and then checking to see that the FFT got the spectrum right.
 
  • Like
Likes   Reactions: member 428835
jedishrfu said:
There that's frequency constraint aka the Nyquist frequency that always gets me.

When we first did FFT plots in MATLAB we constructed a dual signal by adding two sine curves and then checking to see that the FFT got the spectrum right.
That's ultimately how I figured out what was wrong actually...take it back to a pure sine wave and it better be 100% accurate right?