how to make a 12x12 matrix form 4x4:))
2 次查看(过去 30 天)
显示 更早的评论
i have a matrix which is 4x4 and i want to putt it in 12x12 matrix at specific points like 1st and 2nd rows and column of 4x4 at at 1st and 2nd rows and column of 12x12 and 3rd and 4th rows and columns of 4x4 at 7th and 8th rows and columns of 12x12 . how can i do that.. i am attaching both the matrices.. Kindly have a look...
0 个评论
采纳的回答
KSSV
2016-11-16
Are you expecting something like this?
k = rand(4) ;
m = repmat(k,[3,3]) ;
check m, it will have k four times repeated.
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!