How to plot spectrogram in Matlab GUI?

Hello everyone, I'm trying to plot a spectrogram. However, I am getting an error. How can I solve it?
spectrogram(app.UIAxes_4,cleanAudio,win,overlap,ffTLength,fs);

1 Comment

What error are you getting? Did you read the documentation for the spectrogram function? Does it allow uiaxes instead of normal axes?

Sign in to comment.

Answers (1)

I understand that you are trying to plot spectrogram. Follow the below documentation link to achieve that.
Hope it helps.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

on 2 Jun 2022

Answered:

on 7 Sep 2023

Community Treasure Hunt

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

Start Hunting!