Plotting a Continuous Spectrum

2 vues (au cours des 30 derniers jours)
cikalekli
cikalekli le 2 Jan 2022
Commenté : cikalekli le 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)

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by