Topic
Extraction frequency and amplitude from FFT
Página de inicio ' Community ' General ' Extracción de frecuencia y amplitud a partir de FFT
- Este tema contiene Respuestas 2, Voces 2, y fue actualizado por última vez el Hace 10 años, 3 meses por Damian Pietrusiak.
-
AutorPuestos
-
29.10.2015 en 08:26 #34585Damian PietrusiakParticipante
My aim is to find the amplitude and frequency of the 3 highest maxima from FFT in defined frequency range.
I tried Maximum function but as a result I got only amplitude without frequency.
I am looking for tool which give me both components (frequency and amplitude).
I need that to write those information to some table/txt or similar.Thank you in advance for any hints !!!
29.10.2015 en 08:26 #34587Damian PietrusiakParticipanteMy aim is to find the amplitude and frequency of the 3 highest maxima from FFT in defined frequency range.
I tried Maximum function but as a result I got only amplitude without frequency.
I am looking for tool which give me both components (frequency and amplitude).
I need that to write those information to some table/txt or similar.Thank you in advance for any hints !!!
30.10.2015 en 13:18 #34586Bernhard KantzKeymasterWhen you have your spectrum given as a signal (a FlexPro object with frequency as x component) you can use the FPScript function Extrema() to locate the local maximas, sort them in descending order and output the first three elements:
[code]
Dim data = ChannelSpektrum
Dim hyst = 0.05 * Range(data)
Dim ind = Extrema(data, hyst, EVENT_POSITIVE)
Dim ext = data[ind]
Sort(ext, SORT_Y+SORT_DESCENDING)[0,2]
[/code] -
AutorPuestos
- Debes estar registrado para responder a este tema.