how to write cosdelta alphain MATLAB coding
Show older comments
cosd(delta+alpha)
8 Comments
asna akhtar
on 4 Apr 2019
Adam Danz
on 4 Apr 2019
Please show us the values for delta and alpha.
Also what are the results of the following 3 lines?
size(delta)
size(alpha)
which cosd -all
asna akhtar
on 4 Apr 2019
asna akhtar
on 4 Apr 2019
Adam Danz
on 4 Apr 2019
The links are broken.
To offer more advice, I just need this:
Please show us the values for delta and alpha.
Also what are the results of the following 3 lines?
size(delta)
size(alpha)
which cosd -all
asna akhtar
on 5 Apr 2019
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.
Answers (1)
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!