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

295 次查看(过去 30 天)
arg(1+i)
Undefined function 'arg' for input arguments of type 'double'.

回答(1 个)

Udit Gupta
Udit Gupta 2014-5-29
No such function as arg. Use angle(1+i)

类别

Help CenterFile Exchange 中查找有关 Get Started with MuPAD 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by