FFT in MatLab and Origin Pro comparison. Plots are the same but frequency data is a little bit different. Why?

7 views (last 30 days)
Hi everybody! I did a fft code to MatLab and then I tried to compare with OriginPro, essentially I have the same plots in both softwares but I have a problem, when I observe the points I plot are a little bit different, so I can't understand what is happening :S
I show you only the firsts values of frequency because there are approximately 67000 values
Thanks in advance!
<<
>>

Answers (1)

dpb
dpb on 2 Sep 2015
First of all, you'll have to use the same number of points for both spectra, then the difference should simply be one of setting the actual limits of the plot to coincide; quite likely each product has a slightly different algorithm for setting default plotting limits.

Community Treasure Hunt

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

Start Hunting!