주기 10 ms <div>최대값 3.6</div> <div>주파수 100Hz</div> <div><br></div> <div>인 상태로 사인 함수 그래프를 그려보려고 합니다</div> <div><br></div> <div>인터넷에서 찾아보니까</div> <div><br></div> <div><div>fo = 4; %frequency of the sine wave</div> <div>Fs = 100; %sampling rate</div> <div>Ts = 1/Fs; %sampling time interval</div> <div>t = 0:Ts:1-Ts; %sampling period</div> <div>n = length(t); %number of samples</div> <div>y = 2*sin(2*pi*fo*t); %the sine curve</div> <div> </div> <div>%plot the cosine curve in the time domain</div> <div>sinePlot = figure;</div> <div>plot(t,y)</div> <div>xlabel('time (seconds)')</div> <div>ylabel('y(t)')</div> <div>title('Sample Sine Wave')</div> <div>grid</div></div> <div><br></div> <div>이런식으로 나오는데, 여기에서 어떤 부분을 손대야 제가 맨 위에 적은 3가지 값이 적용되는질 모르겠어요</div> <div><br></div> <div>다른 수치는 전혀 없었고 저 세 값 뿐이에요</div> <div><br></div> <div>아시는 분은 좀 도와주세요</div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.