Grocer Function
NAME
str2mat - mimics matlab function str2mat
CALLING SEQUENCE
m=str2mat(arg1,...,argn)
PARAMETERS
Input
-
argi = a string or a vector of strings
Output
-
m = a (px1) vector of strings
DESCRIPTION
Function that mimics matlab function str2mat: forms the column vector fusion of input string (row or column) matrices.
EXAMPLE
str2mat(['a1' 'a2'],'b1',['c1';'c2';'c3'])
Example gives the vector:
ans =
!a1 !
! !
!a2 !
! !
!b1 !
! !
!c1 !
! !
!c2 !
! !
!c3 !
AUTHOR
Eric Dubois 2003