Angle orientation conversion problem

Hey,
I have a small problem with angles calculations, as I'm using a paper to convert angles into different initial origin. Firstly I use Matlab angle orientation (starts from "northern" positions and rises clock-wise) and then I need to convert it to a setup where angle starts from "eastern" position, and rises anti-clockwise. Is there any easy mean to transform the angles from the first system to the other? (so that i.e. angle of 90 degrees graphically stays the same but it's translated into a new value based on origin orientation)
Cheers

2 件のコメント

Jan
Jan 2015 年 7 月 22 日
The question is not clear. How can you use "a paper" to convert angles? What are "different initial origins"? What is "Matlab angle orientation"? Matlab does not prefer anything, it depends on the programmer how the angles are oriented.
Redrum
Redrum 2015 年 7 月 22 日
Well I'm just using a scientific paper to work out a path for a model of autonomous vehicle, strictly saying. I explained it - Matlab (as far as I know) measures angles from north position clockwise. (i.e. the vehicle heading is zero when it's headed north and 180 when headed south), and I'd like to change it to one originated on "east" position, with angle rising anti-clockwise. I hope that clarifies things.

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

 採用された回答

Jan
Jan 2015 年 7 月 22 日

0 投票

I'm not sure, what you are looking for. Perhaps all you need is:
AngleB = 90 - AngleA
??

1 件のコメント

Redrum
Redrum 2015 年 7 月 22 日
Cheers! I think I just missed one sign I was actually using for this. Problem solved.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraphics Performance についてさらに検索

製品

質問済み:

2015 年 7 月 22 日

コメント済み:

2015 年 7 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by