Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
% OUT = MERGECELL(IN1,IN2,...INx,DIM)
%
% MERGECELL simply merges cell arrays (IN1,IN2,...,INx) together by
% appending them along the DIM dimension. There is no requirement that the
% input cell arrays have similar dimensions. The result is a cell array
% large enough to accomodate the sizes of each input array with blanks
% filling the empty spots.
%
% Example:
%
% a{1} = {'a','b','c','d','e'};
% a{2} = {'f';'g';'h'}; %-- Notice these are different orientations
%
% out = mergecell(a{:},1)
%
% returns: 'a' 'b' 'c' 'd' 'e' 'f'
% [] [] [] [] [] 'g'
% [] [] [] [] [] 'h'
%
%
% out = mergecell(a{:},2)
%
% returns: 'a' 'b' 'c' 'd' 'e'
% 'f' [] [] [] []
% 'g' [] [] [] []
% 'h' [] [] [] []
%
%
% out = mergecell(a{1},a{2}',1)
%
% returns: 'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h'
%
%
% Copyright (C) 2011 Jeremy Brower.
% jeremy.brower@gmail.com
Cita come
Jeremy (2026). mergecell (https://it.mathworks.com/matlabcentral/fileexchange/30780-mergecell), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.0.0 (1,77 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 |
