How to multiply 2 arrays by elements

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

A = [3-4j, 1+3j, 10+10j];
B = [4+5j, 2+1j, 0+0j];
A.*B

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!