How to multiply 2 arrays by elements

1 view (last 30 days)
Xizeng Feng
Xizeng Feng on 14 Nov 2021
Answered: Awais Saeed on 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!

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!