arg(Z) is the function returns argument of the complex number Z. but it is showing error while executing arg(1+i) as" Undefined function 'arg' for input arguments of type 'double' ". Can anyone help me?.do u need to convert double to complex?. put u
Show older comments
arg(1+i)
Undefined function 'arg' for input arguments of type 'double'.
1 Comment
Anupam Agarwal
on 25 May 2017
the command is angle(z) but it gives radian value
Answers (1)
Udit Gupta
on 29 May 2014
0 votes
No such function as arg. Use angle(1+i)
2 Comments
Jithus
on 29 May 2014
Udit Gupta
on 29 May 2014
I see what you mean. I looked it up, it is only for MUPad in the symbolic toolbox. Sorry I don't have that licensed so I did not know.
Categories
Find more on Get Started with MuPAD in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!