arrays - Matrix to string in Matlab -
I have a m6 matrix in matlab and I want to display it in a string without white space and semicolon. I used the mat2str function but output would be [1 2 3; 4 5 6; ...] Is there no work or effective way to do any string with spaces and semicolons?
Kind regards,
str = sprintf ('% d ', MTX);
Comments
Post a Comment