Borrar filtros
Borrar filtros

how to cancel specific values in 3d array

2 visualizaciones (últimos 30 días)
noa
noa el 18 de Jun. de 2013
hi
i have a 3d array (aXbXc)
and i want that in each cell that has the value Q to put there a zero instead of it.
but the FIND function keeps returning empty cell values

Respuesta aceptada

Iain
Iain el 18 de Jun. de 2013
array(array == Q) = 0;

Más respuestas (0)

Categorías

Más información sobre Data Types 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