Insert zeros into matrix in matlab
3 次查看(过去 30 天)
显示 更早的评论
I am trying to insert zeros into a matrix, an example is as follows:
[1;2]
to
[1;0;0;0;0;2]
Can anyone please show me how to perform this in matlab?
1 个评论
Hikaru
2015-8-24
Can you be more specific? Do you have any conditions that need to be fulfilled to insert the zeroes?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!