How do I get rid of positive or negative values in a cell array?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Yerzhigit Bapin
el 14 de Jul. de 2017
Comentada: Anthony Castellano
el 28 de Jun. de 2018
How do I create a cell array that consists of only positive or negative values of another cell array in a for loop?
For example, C is a cell 1x24 cell array consisting of 16x7 matrices. First, I need to get rid of the positive numbers in those matrices, second I need to turn the negative values into positives.
I hope I was clear.
Thanks.
2 comentarios
KSSV
el 14 de Jul. de 2017
You want to get rid? That means you want to replace them or remove them? If you remove them then you will not get a matrix, the result would be a vector..what you want ?
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!