cosd function not working

11 views (last 30 days)
Sean Kerlin
Sean Kerlin on 19 Jul 2020
Commented: Sean Kerlin on 19 Jul 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 Comments
James Tursa
James Tursa on 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 on 19 Jul 2020
Thankyou it is now fixed

Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 19 Jul 2020

More Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!