Function's Specgram
13 views (last 30 days)
Show older comments
Hi, i have a function code in MATLAB and i want to plot the specgram of that function but could not find the right code of it
i used;
figure, specgram(getFilter), colorbar
but it gave me an error
Any Help ?
0 Comments
Answers (1)
Cris LaPierre
on 8 Jan 2021
Edited: Cris LaPierre
on 8 Jan 2021
What error are you getting? Undefined function or variable 'specgram'.?
There is no specgram in the current version of MATLAB. What version are you using? Perhaps try using spectrogram, which replaced specgram around 2005.
2 Comments
Cris LaPierre
on 8 Jan 2021
My suggestions
- You have apparently defined your function in the wrong place. Follow what the message says. If you need more help, see the Create Function in Files documentation page
- About specgram, see my first reply.
See Also
Categories
Find more on Audio and Video Data 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!