简体   繁体   中英

What can I do this with arctan in matlab?

I tried this in matlab:

arctan(7e8/1.5e14) %rad

But I get the following error:

Undefined function 'arctan' for input arguments of type 'double'.

Can someone help me with my matlab error?

You need to use atan , not arctan :

>> atan(7e8/1.5e14)

ans =

  4.6667e-006

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM