problem in matrix formation mean want to make a matrix from given matrix by removing 2,3,4 column values?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have matrix of 964*4092 and want to take value of column of 1st 5th 9th and so on as it is ? In the 2nd, 3rd and 4th column there is different value but I don't want to keep that value
댓글 수: 0
채택된 답변
Walter Roberson
2013년 8월 25일
YourMatrix(:, 1:4:end)
will select column 1, 5, 9, 13, 17, and so on.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!