Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Remove columns and rows that are empty or that contain only NaN's in the input arrays, in the beginning, in the end, in both extremities or in the entire array
USAGE
[out1,out2,...] = trim_array(action,array1,array2,...)
output = trim_array(action,array1,array2,...)
INPUT
- ACTION: 'beginning', 'end', 'edges', or 'all'
- 'beginning': remove only the first rows and columns
- 'end': remove only the last rows and columns
- 'edges': remove the both the first and last rows and columns
- 'all': remove all rows and columns with NaN or empty elements
- ARRAY : cell or numeric array
OUTPUT
- OUTPUT: If N input arrays are given, with N outputs, each output is the corresponding trimmed array. If one output is given, it is a cell array containing the trimmed arrays in each element.
Citar como
Guilherme Coco Beltramini (2026). Trim array (https://la.mathworks.com/matlabcentral/fileexchange/42056-trim-array), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.0.0 (2,01 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.0.0.0 |
