Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
i got the code till applying fft to the signal

Respuestas (2)

Abhishek Ballaney
Abhishek Ballaney el 26 de Feb. de 2018
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 el 26 de Feb. de 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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by