How to generate sinusoidal sine wave using matlab ?
조회 수: 43 (최근 30일)
이전 댓글 표시
I need to plot a sine wave with a frequency of 25 amplitude of 5 time of 0:0.1:1 how do i go about this, thanks
댓글 수: 0
채택된 답변
추가 답변 (1개)
Ameer Hamza
2020년 10월 31일
Try this
t = 0:0.001:1; % your time vector have a very low sampling frequency
y = 5*sin(25*2*pi*t);
plot(t, y)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with DSP System Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!