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.
MergeCell takes any number of cell vectors (contain the same datatype) and concatenates their contents into one big cellvector
Any signleton inputs are expanded as needed, these inputs can be 1x1 cells or the contained datatype itself
Example: To add some information about fit to plot legend, we'd wan't to append information about the fit to the line labels:
linelbls = {'line a','line b','line c'};
slope = [.9 1 4.2];
slopetxt= arrayfun(@(x) sprintf('%.3f',x),slope,'UniformOutput',false);
leglbls = MergeCell(linelbls,', slope: ',slopetxt);
% leglbls = MergeCell(linelbls,{', slope: '},slopetxt); would be equivalent
Citar como
Diederick (2026). MergeCell (https://es.mathworks.com/matlabcentral/fileexchange/29866-mergecell), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspiración para: Yahoo! Finance Data Loader
Información general
- Versión 1.1.0.0 (1,78 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
