필터 지우기
필터 지우기

How to get value of angle in degrees ?

조회 수: 2 (최근 30일)
Ahmad Bilal
Ahmad Bilal 2017년 12월 20일
Hi, I have the following code: angle_rad1=acos(v*indice1/(d*fs)); %angle in radians
angle1=(angle_rad1*360/pi)-180; %angles in degrees
Now: After putting values of all input arguments angle1 comes out to be: -1.8000e+02 +1.2909e+03i
As this is a complex number in degrees. I want to have some angle in degrees like from -180° to +180° (or 0° to 360°).
I actually want to know which command i can use to get such kind of results from above mentioned complex angle. Thank you

답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Math에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by