gistlib
main.mA = [1, 2, 3; 4, 5, 6; 7, 8, 9]; 33 chars2 lines
A = [1, 2, 3; 4, 5, 6; 7, 8, 9];
This code creates a 3x3 matrix in MATLAB with values from 1 to 9. Each row is separated by a semicolon ; and elements within each row are separated by a comma ,.
;
,
gistlibby LogSnag