![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/275047/image.png)
Time-Frequency Plot
6 views (last 30 days)
Show older comments
Hello
I am using the spectrogram function in matlab to obtain the time-frequency response of my signal. However, the time-frequency graph which I get from this function does not have all the data plotted with respect to time. Below is the spectrogram command which I am using.
spectrogram(CeDS,blackman(2*Fs),Fs/2,2*Fs,Fs,'yaxis');
where Fs = 10000;
Attached is my signal in time domain. Also attached is the output I get from the spectrogram command.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/274893/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/274894/image.png)
As can be seen from the above plot, the data before time = 6 minutes is missing.
Hoping if someone could advise how I could solve this.
Thanks in advance.
Krishneel Kumar
Answers (0)
See Also
Categories
Find more on Time-Frequency Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!