How can I print an "i" by multiplying any number with set?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I want that for example if x 5 = 2 x 6 = 2 x 7 = 2 x8 = 3 something like this appears on the screen of the edit = 2 + 2i and in the other 2 + 3i, is that fine or how would it be? I do not want to use the commands imag since this program makes it executable
Answers (1)
Walter Roberson
on 8 Nov 2017
0 votes
Use imag(): it is supported for compilation and code generation.
1 Comment
Erwin Avendaño
on 8 Nov 2017
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!