How to fill a 1024 point array with two cycles of a cosine wave?
조회 수: 8 (최근 30일)
이전 댓글 표시
How to fill a 1024 point array with two cycles of a cosine wave?
댓글 수: 0
채택된 답변
Luna
2019년 2월 11일
Example:
xData = linspace(0,4*pi,1024);
yData = cos(xData);
figure;
plot(xData,yData);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!