Borrar filtros
Borrar filtros

replace values in matrix A based on values of matrix B

1 visualización (últimos 30 días)
replace values in matrix A to zero, if values in matrix B from the same position is equal to zero...

Respuesta aceptada

Walter Roberson
Walter Roberson el 20 de Feb. de 2017
A(B==0) = 0;

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by