converting from radian to degree

9 ビュー (過去 30 日間)
cmcm
cmcm 2014 年 4 月 18 日
コメント済み: cmcm 2014 年 4 月 18 日
how to convert a (plot) in radian to degree,,,
  2 件のコメント
Arco
Arco 2014 年 4 月 18 日
to convert from radian to degree just multiply with
180/pi
If that doesn't answer your question, could you please specicify the meaning of (plot)?
cmcm
cmcm 2014 年 4 月 18 日
i had a plot (time , error) and that plot in radian (i.e. the maximum value of error is 0.9 for example, but it should be almost 49 degree)... so is there any way to convert that plot from radian to degree?

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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 18 日
編集済み: Azzi Abdelmalek 2014 年 4 月 18 日
That depends on what you want to convert to degrees
plot(x,y*180/pi)
or
plot(x*180/pi,y)
  1 件のコメント
cmcm
cmcm 2014 年 4 月 18 日
thank you :)

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2014 年 4 月 18 日
Have you considered working only in degrees? Then use the trig functions with d after them, like sind(), cosd(), atand(), atand2(), etc.

Community Treasure Hunt

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

Start Hunting!

Translated by