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

331 visualizaciones (últimos 30 días)
arg(1+i)
Undefined function 'arg' for input arguments of type 'double'.

Respuestas (1)

Udit Gupta
Udit Gupta el 29 de Mayo de 2014
No such function as arg. Use angle(1+i)
  2 comentarios
Jithus
Jithus el 29 de Mayo de 2014
Thank u. i used angle() function. but it i sshowing arg function in matlab.
Udit Gupta
Udit Gupta el 29 de Mayo de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MuPAD en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by