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!