Plotting a Continuous Spectrum
3 views (last 30 days)
Show older comments
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)
0 Comments
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!