How to used the combination between "bsxfun" and "operator AND"
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
balandong
el 2 de Dic. de 2016
Respondida: balandong
el 2 de Dic. de 2016
Dear Coder, May I know any working example to application of bsxfun and operator AND. For example, we want to compare an array if C == 0 AND C == FALSE.
0 comentarios
Respuesta aceptada
Walter Roberson
el 2 de Dic. de 2016
B = logical(randi([0 1], 15, 1));
C = randi([0 5], 1, 10, 'uint8');
bsxfun(@and, C == 0, ~B)
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Execution Speed 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!