I have the student (covid) version Through CQU. when I am trying to use cosd(305) for example, I get a reply "Index exceeds the number of array elements (1)". sind and tand work fine.
How do I rectify this problem?

2 件のコメント

James Tursa
James Tursa 2020 年 7 月 19 日
You have inadvertantly created a variable called cosd that is shadowing the function cosd( ). Clear the variable and pick a different name.
Sean Kerlin
Sean Kerlin 2020 年 7 月 19 日
Thankyou it is now fixed

サインインしてコメントする。

 採用された回答

madhan ravi
madhan ravi 2020 年 7 月 19 日

1 投票

clear cosd

1 件のコメント

Sean Kerlin
Sean Kerlin 2020 年 7 月 19 日
thankyou it is now fixed

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Trigonometry についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by