how to obtain the required point in the obtained fft signal and remove rest of the points in the signal
1 view (last 30 days)
Show older comments
i got the code till applying fft to the signal
0 Comments
Answers (2)
Abhishek Ballaney
on 26 Feb 2018
https://in.mathworks.com/help/signal/ug/find-peaks-in-data.html
https://in.mathworks.com/help/signal/ref/findpeaks.html
0 Comments
Bhuvnesh Singh
on 26 Feb 2018
As suggested above you can use findpeaks function to find values and locations of local maxima in a set of data.
where function findpeaks(data) returns a vector with the local maxima (peaks) of the input signal vector, data. A local peak is a data sample that is either larger than its two neighboring samples or is equal to Inf. Non-Inf signal endpoints are excluded. If a peak is flat, the function returns only the point with the lowest index.
You can follow the link for more information: https://www.mathworks.com/help/signal/ug/find-peaks-in-data.html
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!