Tags: 10cos, 30degrees, accept, convert, degree, degrees, evaluate, matlab, meaning, programming, rad, radian

radian to degree

On Programmer » Matlab

1,266 words with 2 Comments; publish: Wed, 07 May 2008 15:22:00 GMT; (20062.50, « »)

I want to evaluate 10*cos(30), the 30 is in degrees.

However, matlab only accept radian, meaning I have to convert the 30

degrees to pi/6 rad.

How do I compute it directly without having to convert to radian

All Comments

Leave a comment...

  • 2 Comments
    • A Ogun wrote:

      >

      > I want to evaluate 10*cos(30), the 30 is in degrees.

      > However, matlab only accept radian, meaning I have to convert the

      > 30

      > degrees to pi/6 rad.

      > How do I compute it directly without having to convert to radian

      You do not. You have to convert it to radians.

      It doesn't ache so much, well ... only at the first time

      #1; Wed, 07 May 2008 15:24:00 GMT
    • In article <ef3509a.-1.matlab.todaysummary.com.webx.raydaftYaTP>, "A Ogun"

      <okogidi77.matlab.todaysummary.com.sbcglobal.net> wrote:

      > I want to evaluate 10*cos(30), the 30 is in degrees.

      > However, matlab only accept radian, meaning I have to convert the 30

      > degrees to pi/6 rad.

      > How do I compute it directly without having to convert to radian

      --

      Check out the functions, 'sind', 'cosd', 'tand', 'cotd', 'secd', and 'cscd'.

      (Remove "xyzzy" and ".invalid" to send me email.)

      Roger Stafford

      #2; Wed, 07 May 2008 15:25:00 GMT