Grocer Function

NAME

str2mat - mimics matlab function str2mat

CALLING SEQUENCE

m=str2mat(arg1,...,argn)

PARAMETERS

Input

Output

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