Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I print an "i" by multiplying any number with set?

1 回表示 (過去 30 日間)
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 11 月 8 日
Use imag(): it is supported for compilation and code generation.
  1 件のコメント
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 8 日
I solved it by printing separately in my real and imaginary guide.part has two editext in the guide one for the real part and another for the imaginary one

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by