how to write cosdelta alphain MATLAB coding

2 views (last 30 days)
asna akhtar
asna akhtar on 3 Apr 2019
Commented: Adam Danz on 5 Apr 2019
cosd(delta+alpha)
  8 Comments
asna akhtar
asna akhtar on 5 Apr 2019
there are many values of delta and alpha because they are in 1×30 matrix form so it is not possible to write all the values.
Adam Danz
Adam Danz on 5 Apr 2019
But you could provide a sample of those values and you could definitely provide the results of the three lines of code. Good luck.

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 3 Apr 2019
Edited: madhan ravi on 3 Apr 2019
cosd(bsxfun(@plus,Delta+Alpha)) % assuming units are degrees else use cos()

Categories

Find more on Platform and License in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!