フィルターのクリア

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

180 ビュー (過去 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)
  2 件のコメント
Jithus
Jithus 2014 年 5 月 29 日
Thank u. i used angle() function. but it i sshowing arg function in matlab.
Udit Gupta
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 ExchangeGet Started with MuPAD についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by