rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
matrix2str.m
1 function Mstr = matrix2str(M)
2 %function Mstr = matrix2str(M)
3 %
4 % function generating a string (matlab format) of a given double
5 % matrix M
6 
7 % Bernard Haasdonk 30.1.2009
8 
9 fstr = [repmat('%30.18d, ',1,size(M,2)-1),'%30.18d; ...\n'];
10 Mstr =