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
298 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
arg(1+i)
Undefined function 'arg' for input arguments of type 'double'.
1 commentaire
Réponses (1)
Udit Gupta
le 29 Mai 2014
No such function as arg. Use angle(1+i)
2 commentaires
Udit Gupta
le 29 Mai 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.
Voir également
Catégories
En savoir plus sur Get Started with MuPAD dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!