My code is showing error in the x=-3abs(siny) part. Please Help
y=-pi:0.1:pi;
x=-3abs(siny);
plot (y,x);

댓글 수: 2

dpb
dpb 2019년 6월 23일
Why not move your Comment to an Answer???
infinity
infinity 2019년 6월 23일
Hello,
You are right. I have changed it to the answer.

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

답변 (1개)

infinity
infinity 2019년 6월 23일

0 개 추천

it should be like that
x=-3*abs(sin(y));

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

2019년 6월 22일

댓글:

2019년 6월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by