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
310 ビュー (過去 30 日間)
古いコメントを表示
arg(1+i)
Undefined function 'arg' for input arguments of type 'double'.
1 件のコメント
回答 (1 件)
Udit Gupta
2014 年 5 月 29 日
No such function as arg. Use angle(1+i)
2 件のコメント
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.
参考
カテゴリ
Help Center および 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!