How to multiply 2 arrays by elements

1 visualización (últimos 30 días)
Xizeng Feng
Xizeng Feng el 14 de Nov. de 2021
Respondida: Awais Saeed el 14 de Nov. de 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!

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by