A = [1 2; 3 4; 5 6]
A = 1:0.1:2
A = ones(1, 3) B = zeros(2, 3)
eye (2)
size([1; 2; 3; 4]) * 결과 ans = 4 1 4 rows 1 column
length([3 2; 2 3; 1 3]) * 결과 ans = 3
A = 1 2 3 4 5 6 A' = 1 4 2 5 3 6
save filename matrix
load filename
w = -6 + sqrt(10) * (randn(1, 10000)) hist(w)
help