what is command for instead DEGREES(ATAN2(A2,B2)) formula in excel??
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear all !!!
I tried to change formula from excel file to matlab function. But result didnot same as figure.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1020450/image.png)
Can anyone help me to explain and fix it?
Thank you
6 Commenti
David Goodmanson
il 4 Giu 2022
Hi galaxy,
exactly how, in what environment, are those values of -179... being calculated? Certainly if you import the values of E and N into Matlab, you get +179... as you should.
Risposte (1)
Benjamin Thompson
il 4 Giu 2022
Since -179 and 179 degrees are very nearly equal, those results are actually within the tolerance of your other results. If you used the wrong sign on the "N" component this would explain it, and just keep in mind when very small number and very large numbers are used together in calculations this can lead to odd results. Also is the Excel screenshot showing any rounding, such that the calculations are using additional digits of precision that Excel is not displaying?
0 Commenti
Vedere anche
Categorie
Scopri di più su Matrix Indexing 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!