how to assign angle
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Offroad Jeep
il 14 Mag 2016
Commentato: Image Analyst
il 14 Mag 2016
Hi to all I am fine and hoping for the same. I want to take cos(theta) of the angle but for a = 1 and b = 1 angle should be 0 and for a = 1 and b = -1 it should be 180. The result should be in matrix form again. File attached.
Regards
0 Commenti
Risposta accettata
Image Analyst
il 14 Mag 2016
You do not multiply a and b by the cosine. You multiply a and b by pi and put it inside the cosine, cos(), OR multiply by 180 and put inside cosd(). See if that hint can help you. meshgrid() may also help.
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Trigonometry in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!