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 ExchangeMathematics についてさらに検索

タグ

質問済み:

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