Make a logical array into a single logical column, if any of the array rows contain a 1
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Magnus Rasmussen
el 30 de Nov. de 2021
Comentada: Magnus Rasmussen
el 1 de Dic. de 2021
Hi Guys i have a logical array of the size 10617x21 named a. I need it to be 10617x1 named b, so only one column.
One condition, if there was a 1 anywhere in the row on a, then i would like the row value of b to also be 1.
Smaller example:
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Multidimensional 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!