I want to plot frequency vs time from the sound data(i.e. column data). I am not able to do it. Please please help. the specgramdemo function when run give at what time what frequency is present, but i want that it should return mtrx frequency vs tim

If i use the spectrogram function, it plots the spectrogram i.e. it plots frequency vs time but, i am not able to extract that information in to matrix. Please help.

1 Comment

Respected Sir, I am very thankful for your quick response, yes I am able to get the matrix, but I am having trouble in converting that matrix into frequency vs time,can you please elaborate, as you have knowledge of signal processing, how would I be able to convert the output matrix into frequency vs time

Sign in to comment.

 Accepted Answer

spectrogram returns matrices containing the complex-valued short-time Fourier transform and the short-time periodograms.
See the help for spectrogram for examples.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!