how to Plot ampitude spectrum using stem function ,

1 view (last 30 days)
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)

Answers (0)

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!