Mercurial > octave-nkf
comparison scripts/strings/str2mat.m @ 4946:48a39e2b2ab7
[project @ 2004-08-31 17:27:04 by jwe]
author | jwe |
---|---|
date | Tue, 31 Aug 2004 17:27:05 +0000 |
parents | e0b7a493e5a8 |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
4945:4bd917f8a4a7 | 4946:48a39e2b2ab7 |
---|---|
21 ## @deftypefn {Function File} {} str2mat (@var{s_1}, @dots{}, @var{s_n}) | 21 ## @deftypefn {Function File} {} str2mat (@var{s_1}, @dots{}, @var{s_n}) |
22 ## Return a matrix containing the strings @var{s_1}, @dots{}, @var{s_n} as | 22 ## Return a matrix containing the strings @var{s_1}, @dots{}, @var{s_n} as |
23 ## its rows. Each string is padded with blanks in order to form a valid | 23 ## its rows. Each string is padded with blanks in order to form a valid |
24 ## matrix. | 24 ## matrix. |
25 ## | 25 ## |
26 ## @strong{Note:} | |
27 ## This function is modelled after @sc{Matlab}. In Octave, you can create | 26 ## This function is modelled after @sc{Matlab}. In Octave, you can create |
28 ## a matrix of strings by @code{[@var{s_1}; @dots{}; @var{s_n}]} even if | 27 ## a matrix of strings by @code{[@var{s_1}; @dots{}; @var{s_n}]} even if |
29 ## the strings are not all the same length. | 28 ## the strings are not all the same length. |
30 ## @end deftypefn | 29 ## @end deftypefn |
31 | 30 |