Filter löschen
Filter löschen

How to determine frequency components in a signal

1 Ansicht (letzte 30 Tage)
Elysi Cochin
Elysi Cochin am 6 Mär. 2017
Kommentiert: Walter Roberson am 6 Mär. 2017
How to determine the different dominant frequency components in a signal (for the whole signal duration and for specific periods)? Signal is of dim (400 x 1)

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Mär. 2017
  4 Kommentare
Elysi Cochin
Elysi Cochin am 6 Mär. 2017
Bearbeitet: Elysi Cochin am 6 Mär. 2017
any example you can show me... i havent used it....
spectrogram(signal) and fft(signal), gives me a complex value? what does it mean? how can i relate it to time period
Walter Roberson
Walter Roberson am 6 Mär. 2017
mask = time >= beginning_of_period & time <= end_of_period;
selected_samples = samples(mask);
fft_of_selected = fft(selected_samples);
"spectrogram(signal), gives me a complex value?"
Yes. spectrogram does a series of discrete fourier transforms (fft). fft() of a real-valued signal is going to be complex except in the case that the signal is made up of pure sine tones that all started at the first sample. The complex portion of the entries express phase information.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by