How to create a grid for harmonics in plotted spectrum
4 ビュー (過去 30 日間)
古いコメントを表示
I'm using a Hilbert function for a given temporel signal (acceleration,number of data points 4063) ,then i use the FFT to obtain the spectrum(250 points),my question is when i plot the spectrum how i can plot a grid or diffrent grids for a given harmonics (20 harmonics) so i can analyze the plot easily and compare it .
I'm using Matlab R2015b.
thank you.
0 件のコメント
回答 (1 件)
Star Strider
2019 年 1 月 5 日
I am not certain what you want.
One possibility could be to use the findpeaks (link) function to locate the peaks and locations of your Fourier transformed data, then plot the individual peaks and locations with the stem plot function. The findpeaks results would also allow you to compare the results numerically as well as graphically.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!