본문 바로가기

컴퓨터/MATLAB을 이용한 알기 쉬운 수치해석

MATLAB을 이용한 알기 쉬운 수치해석) 1장 7번

x = 0:0.1:4.9;
fprintf("x의 데이터 수 : %d \n", length(x));
y = x.*sin(x);
plot(x, y);