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
조회 수: 251 (최근 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!