i want to create 2 sinusoid signals and adding it then create time domain of it first signal amplitude 110 50hz second signal amplitude 10 250hz

5 views (last 30 days)
t = (0:0.001:1)'; y1 = sin(2*pi*50*t) y2 = sin(2*pi*120*t)
plot(y1,y2)

Accepted Answer

Birdman
Birdman on 29 Mar 2018
t = (0:0.001:1);
y1 = 110*sin(2*pi*50*t);
y2 = 10*sin(2*pi*250*t);
plot(t,y1,t,y2)

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!