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 Kommentare

James Tursa
James Tursa am 19 Jul. 2020
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 am 19 Jul. 2020
Thankyou it is now fixed

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

madhan ravi
madhan ravi am 19 Jul. 2020

1 Stimme

clear cosd

Weitere Antworten (0)

Kategorien

Mehr zu Install Products finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by