how to create a complex number: j(number)
조회 수: 2 (최근 30일)
이전 댓글 표시
i want create complex number in my m file code how i can do this : a= j(number)
답변 (2개)
behnam
2012년 2월 19일
댓글 수: 1
Matt Kindig
2012년 2월 19일
Neither is correct. Both j and i are constants (sqrt(-1)), not functions, so that are not called like this. Instead:
a=input('enter a');
t=j*(a/20)
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!