Insert zeros into matrix in matlab
2 ビュー (過去 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!