how can i multiply two complex number in GUI

1 次查看(过去 30 天)
Hussain Alharbi
Hussain Alharbi2021-11-29
回答: John D'Errico ,2021-11-29
Z=3+5i
N=5+3i
X=Z*N IN GUI

回答(1 个)

John D'Errico
John D'Errico 2021-11-29
What is the problem? Convert them to numbers. Multiply said numbers. Then output the result however you desire.
My guess is your real problem is in the text processing of the strings you will be given. But even that is not a big problem. Can you find what lies to the right of an "=" symbol? Can you use tools, for example, eval, to then produce a number?

标签

Community Treasure Hunt

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

Start Hunting!

Translated by