Spectral analysis graph plot
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Specifying Target for Graphics Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!