how to create a complex number: j(number)
2 views (last 30 days)
Show older comments
i want create complex number in my m file code how i can do this : a= j(number)
1 Comment
Answers (2)
behnam
on 19 Feb 2012
1 Comment
Matt Kindig
on 19 Feb 2012
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)
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!