Function's Specgram
12 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Cris LaPierre
2021-1-8
编辑:Cris LaPierre
2021-1-8
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 个评论
Cris LaPierre
2021-1-8
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!