How do I find the frequency of a signal?
73 views (last 30 days)
Show older comments
I currently have an array of data points which is clearly damped oscillation just by looking at the graph, however how would i go about getting matlab to give me a readout of the frequencies.
I use findpeaks (link) to identify the peaks and their locations.Then, using by the location information to calculate the period and from that how can i go for frequency?
[pks,locs]=findpeaks(Accelaration);
natPeriod = diff(time_vector(locs));
freq. ??
3 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!