stocv¶
Purpose¶
Converts a string to a character vector.
Format¶
-
v =
stocv
(s)¶ - Parameters:
s (string) – to be converted to character vector.
- Returns:
v (Nx1 character vector) – contains the contents of s.
Examples¶
s = "Now is the time for all good men";
v = stocv(s);
"Now is t"
"the time "
v =
"for all "
"good men"
Remarks¶
stocv()
breaks s up into a vector of 8-character length matrix elements.