필터 지우기
필터 지우기

When I run it Why there is no picture

조회 수: 2 (최근 30일)
ding xian zhi
ding xian zhi 2017년 3월 19일
댓글: ding xian zhi 2017년 3월 19일
x=0:50/pi:2*pi;
y=cos(x).*[0.5+3*sin(x)./(1+x.^2)];
plot(x,y)
When I run it Why there is no picture could anyone help me thx
  댓글 수: 2
per isakson
per isakson 2017년 3월 19일
편집: per isakson 2017년 3월 19일
Did you check the values of x and y, respectively?
ding xian zhi
ding xian zhi 2017년 3월 19일
I find the problem It should be pi/50 not 50/pi

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 3월 19일
x=0:pi/50:2*pi;

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by