Fill values from different matrices size
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I want to know how I can put the values of a matrix 3x3 into a matrix of 6x6 (for example), adding zeros in the not pair rows and colums, just like that:
A B C
D E F
G H I
into:
A 0 B 0 C 0
0 0 0 0 0 0
D 0 E 0 F 0
0 0 0 0 0 0
G 0 H 0 I 0
0 0 0 0 0 0
Thank you very much!
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!