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

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by