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 Commento

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

Accedi per commentare.

Risposte (1)

Anjaneyulu Bairi
Anjaneyulu Bairi il 7 Set 2023
I understand that you are trying to plot spectrogram. Follow the below documentation link to achieve that.
Hope it helps.

Community Treasure Hunt

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

Start Hunting!

Translated by