what is command for instead DEGREES(ATAN2(A2,B2)) formula in excel??
조회 수: 5 (최근 30일)
이전 댓글 표시
Dear all !!!
I tried to change formula from excel file to matlab function. But result didnot same as figure.

Can anyone help me to explain and fix it?
Thank you
댓글 수: 6
David Goodmanson
2022년 6월 4일
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.
답변 (1개)
Benjamin Thompson
2022년 6월 4일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!