how to Plot ampitude spectrum using stem function ,

16 次查看(过去 30 天)
m(t)= 10 cos(2pi400 t)+5 cos(2pi1000t)+2cos(2pi3000t) Plot the amplitude spectrum M(f) for f>= 0
figure t = linspace(0,1,50)'; Y = 10*cos(2*pi*400*t)+5*cos(2*pi*1000*t)+2*cos(2*pi*3000*t); stem(Y)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by