what is command for instead DEGREES(ATAN2(A2,B2)) formula in excel??

5 ビュー (過去 30 日間)
galaxy
galaxy 2022 年 6 月 3 日
コメント済み: galaxy 2022 年 6 月 8 日
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 件のコメント
galaxy
galaxy 2022 年 6 月 8 日
Thank you for your answers.
I don't know why, but I tried in Matlab ver 2019b, it had right value, 179.
Maybe I was wrong. I will detele this question, sorry for the inconvenience.

サインインしてコメントする。

回答 (1 件)

Benjamin Thompson
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?

カテゴリ

Find more on Data Import from MATLAB in Help Center and File Exchange

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by