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!