MATLAB Answers

how to create two sinusoidal signals

1 view (last 30 days)
Create two sinusoidal signals that vary by 60 degrees

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 7 Mar 2021
Hint:
A=.....%Amplitude
t=0:0.01:1; %time
ph=......%Set Phase difference
w=.....% Frequency
sin1=................% Asin(wt);
sin2=................%Asin(wt+ph);
plot(t,sin1,'-*r',t,sin2,'-ob');
grid on;
  12 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 12 Mar 2021
Open a new question, I'm busy with my work, so you can get answers from other members

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by