Is there a way I can plot on top of the output spectrogram from using the 'stft' function?
1 次查看(过去 30 天)
显示 更早的评论
I know you can use 'uistack' but I'm having trouble assigning the STFT to a variable as for 'uistack' you need something like:
uistack('h',top)
Where h is the plot.
At the end of my code I run:
stft(x,1000,'FFTLength',4096)
But in order to do 'uistack' I need to save this as a variable, however assigning a variable just outputs the values as opposed to the plot itself.
If I instead try:
[S, F, T] = stft(x,1000,'FFTLength',4096);
surf(s, f, t, 'edgecolor', 'none')
Then I'm told that for the function 'surf', s, f or t can't be complex. I get similar errors trying to use other types of plots as well.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!