Spectral analysis graph plot

1 次查看(过去 30 天)
MAX
MAX 2018-4-20
How do I plot the spectral analysis graph for the signal below? The below code is in the callback of a pushbutton.
Fs=8000;
Ts=1/Fs;
t=[0:Ts:1];
F_A=440; %Frequency of note A is 440 Hz
A=2*sin(2*pi*F_A*t);
sound(A,Fs);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by