How to fill a 1024 point array with two cycles of a cosine wave?
1 view (last 30 days)
Show older comments
How to fill a 1024 point array with two cycles of a cosine wave?
0 Comments
Accepted Answer
Luna
on 11 Feb 2019
Example:
xData = linspace(0,4*pi,1024);
yData = cos(xData);
figure;
plot(xData,yData);
0 Comments
See Also
Categories
Find more on Loops and Conditional Statements 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!