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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Exponents and Logarithms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!