The present code is a Matlab program for Time-Frequency analysis of a given (non-stationary) signal. The results are:
1) graphical representation of the signal in the time domain;
2) graphical representation of the signal in the frequency domain (via FFT);
3) graphical representation of the signal in the time-frequency domain (via STFT).
The code is based on the theory described in:
 G. Heinzel, A. Rudiger, R. Schilling. Spectrum and spectral density estimation by the Discrete Fourier transform (DFT), including a comprehensive list of window functions and some new flat-top windows. Germany, Hannover, Max-Planck-Institut für Gravitationsphysik, 2002.
Hristo Zhivomirov (2021). Time-Frequency Analysis of Signals with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/45465-time-frequency-analysis-of-signals-with-matlab), MATLAB Central File Exchange. Retrieved .
Perfect plot. Exactly what I am looking for. Please can you kindly send the code to my mail (email@example.com) sir? I have a signal data as a MAT-file. Please help me urgently with the code. Thank you, Hristo.
The magnitude of the frequency (and time-frequency) spectrum is given in dBV. The negative sign means that the actual (peak) level of the spectral lines is bellow 1 V. This is the most common case in the time-frequency and spectral analysis.
Hello sir, may I know why does your magnitude tend to negative.
@CUMT CHINA Good
[p,f,t] = pspectrum(y,Fs,'spectrogram','TimeResolution',400/fs);instfreq(p,f,t)
I am looking of a code to simulate guided waves propogation in a rod and rail and find features. Would you please help me to find such a thing. my email is: firstname.lastname@example.org
Thank you for every good work you have done!
can you share your email id?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!