Strange problem with sin.
이전 댓글 표시
So i´m doing the following:
t = [0:0.5:5];
f = 2;
pha = pi/3;
x=sin(2 * pi * f * t + pha);
plot(t,x)
and the result on x will be

I´m pretty sure it´s my fault because i´m quite new, but i have already finished harder exercises and i just can´t find my mistake in this one. Any thoughts?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Testing Frameworks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!