Plotting a Continuous Spectrum

4 views (last 30 days)
cikalekli
cikalekli on 2 Jan 2022
Commented: cikalekli on 2 Jan 2022
Hi, while I'm practising about continuous spectrum plotting I'm stuck at one point.
For example I want to give T = 0.2 and A = 1
Here I tried this but I am not sure if it is a continuous spectrum.
close all;
t = (0:0.01:2*pi);
T = 0.2;
A = 1;
y = A * sin(2 * pi * t / T);
plot(t,y)

Accepted Answer

VBBV
VBBV on 2 Jan 2022
Try changing the values for T ,time period from 0.2 to 1. You can notice the difference whether it's continuous or appears as discrete
  2 Comments
cikalekli
cikalekli on 2 Jan 2022
May I ask about the terms of continuous spectrum and continuous wave are the same thing or not?
Yeah I changed and I see that this is continuous right.
but did I do right the rest of the part please?
Thanks in advance.
close all;
t = (0:0.01:2*pi);
T = 1;
A = 1;
y = A * sin(2 * pi * t / T);
plot(t,y)
cikalekli
cikalekli on 2 Jan 2022
Can you also look at this question which I asked today please? That would be perfect if you could observe:
Link:

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!