統計
All
Feeds
回答済み
Put a small matrix in a bigger one.
function A = MatrixReplace(A,B) [p,q] = size(B); A(end-p+1:end, end-q+1:end) = B; end
Put a small matrix in a bigger one.
function A = MatrixReplace(A,B) [p,q] = size(B); A(end-p+1:end, end-q+1:end) = B; end
8年弱 前 | 3
| 採用済み