how to obtain the required point in the obtained fft signal and remove rest of the points in the signal

1 次查看(过去 30 天)
i got the code till applying fft to the signal

回答(2 个)

Abhishek Ballaney
Abhishek Ballaney 2018-2-26
https://in.mathworks.com/help/signal/ug/find-peaks-in-data.html
https://in.mathworks.com/help/signal/ref/findpeaks.html

Bhuvnesh Singh
Bhuvnesh Singh 2018-2-26
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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by