put a mall matrix in a big matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
Helll everybody,
A = zeros(672,34953);
I want to put a quadratic matrix (672,672) B, beginning at this spot (1,5377)
anybody has any idea how can i implement it quickly and efficiently ?
Thanks
댓글 수: 0
채택된 답변
Jan
2013년 10월 24일
A( 1: 1 + size(B,1)-1, 5377 : 5377 + size(B, 2) - 1 ) = B;
댓글 수: 6
John D'Errico
2013년 10월 24일
Why is that a problem? If you really have something specific you are trying to solve, then ask a direct question.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!