Plotting a Continuous Spectrum

2 次查看(过去 30 天)
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)

采纳的回答

VBBV
VBBV 2022-1-2
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 个评论
cikalekli
cikalekli 2022-1-2
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 2022-1-2
Can you also look at this question which I asked today please? That would be perfect if you could observe:
Link:

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by