フィルターのクリア

How can i set the plot values of a specgram.

1 回表示 (過去 30 日間)
Peter Cristian
Peter Cristian 2022 年 5 月 24 日
コメント済み: Hiro Yoshino 2022 年 5 月 24 日
I have a DTMF signal, that i realized a specgram of it. But i dont know how to set my own values to it, i want to put this code to this signal.
title("Spectograma semnalului DTMF")
xlabel("Timp[ms]");
ylabel("Frecventa[Hz]");
axis([0, 800, 0, 2000]);
xticks(0:200:800);
yticks([800, 900, 1000, 1100]);
grid on;

回答 (1 件)

Hiro Yoshino
Hiro Yoshino 2022 年 5 月 24 日
Short Time Fourier Transform?
stft(x,fs,'Window',kaiser(256,5),'OverlapLength',220,'FFTLength',512);
  3 件のコメント
Hiro Yoshino
Hiro Yoshino 2022 年 5 月 24 日
It seems that it is just about your setting for that function.
You can remove the "overlap" and try making the window narrower.
Hiro Yoshino
Hiro Yoshino 2022 年 5 月 24 日
If you want to suppress areas of no-interest, you can replace those values with something else by giving a threshold to it:
x(x<threshold) = 0;

サインインしてコメントする。

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by