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 CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by