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
显示 更早的评论
arg(1+i)
Undefined function 'arg' for input arguments of type 'double'.
1 个评论
Anupam Agarwal
2017-5-25
the command is angle(z) but it gives radian value
回答(1 个)
Udit Gupta
2014-5-29
0 个投票
No such function as arg. Use angle(1+i)
2 个评论
Jithus
2014-5-29
Udit Gupta
2014-5-29
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MuPAD 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!