Plotting a Continuous Spectrum

2 visualizzazioni (ultimi 30 giorni)
cikalekli
cikalekli il 2 Gen 2022
Commentato: cikalekli il 2 Gen 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)

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by