cosd function not working

11 vues (au cours des 30 derniers jours)
Sean Kerlin
Sean Kerlin le 19 Juil 2020
Commenté : Sean Kerlin le 19 Juil 2020
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 commentaires
James Tursa
James Tursa le 19 Juil 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 le 19 Juil 2020
Thankyou it is now fixed

Connectez-vous pour commenter.

Réponse acceptée

madhan ravi
madhan ravi le 19 Juil 2020
  1 commentaire
Sean Kerlin
Sean Kerlin le 19 Juil 2020
thankyou it is now fixed

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by