Mercurial > octave-nkf
comparison scripts/general/cell2mat.m @ 5642:2618a0750ae6
[project @ 2006-03-06 21:26:48 by jwe]
author | jwe |
---|---|
date | Mon, 06 Mar 2006 21:26:54 +0000 |
parents | 9cde5eb6f18b |
children | 7f79a99e273e |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
18 ## @deftypefn {Function File} {@var{m} =} cell2mat (@var{c}) | 18 ## @deftypefn {Function File} {@var{m} =} cell2mat (@var{c}) |
19 ## Convert the cell array @var{c} into a matrix by concatenating all | 19 ## Convert the cell array @var{c} into a matrix by concatenating all |
20 ## elements of @var{c} into a hyperrectangle. Elements of @var{c} must | 20 ## elements of @var{c} into a hyperrectangle. Elements of @var{c} must |
21 ## be numeric, logical or char, and @code{cat} must be able to | 21 ## be numeric, logical or char, and @code{cat} must be able to |
22 ## concatenate them together. | 22 ## concatenate them together. |
23 ## @seealso{mat2cell, num2cell} | |
23 ## @end deftypefn | 24 ## @end deftypefn |
24 ## | |
25 ## @seealso{mat2cell, num2cell} | |
26 | 25 |
27 function m = cell2mat (c) | 26 function m = cell2mat (c) |
28 | 27 |
29 if (nargin != 1) | 28 if (nargin != 1) |
30 usage ("m = cell2mat (c)"); | 29 usage ("m = cell2mat (c)"); |