FFT in MatLab and Origin Pro comparison. Plots are the same but frequency data is a little bit different. Why?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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!
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148689/image.jpeg)
>>
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148691/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148692/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148694/image.jpeg)
0 commentaires
Réponses (1)
dpb
le 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.
2 commentaires
dpb
le 2 Sep 2015
I've no klew regarding the other program, in Matlab you set the plotting limits with xlim
Voir également
Catégories
En savoir plus sur Transforms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!