How to multiply 2 arrays by elements

1 Ansicht (letzte 30 Tage)
Xizeng Feng
Xizeng Feng am 14 Nov. 2021
Beantwortet: Awais Saeed am 14 Nov. 2021
I have 2 arrays of complex numbers and want to get the result of multiply element by element.
What can I do?
thanks a lot!

Akzeptierte Antwort

Awais Saeed
Awais Saeed am 14 Nov. 2021
A = [3-4j, 1+3j, 10+10j];
B = [4+5j, 2+1j, 0+0j];
A.*B

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by