Plotting a Continuous Spectrum

7 Ansichten (letzte 30 Tage)
cikalekli
cikalekli am 2 Jan. 2022
Kommentiert: cikalekli am 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)

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by