matrix operation
조회 수: 4 (최근 30일)
이전 댓글 표시
hi i am using guide.here i use a matrix of size 50 by 50. I want to delete a particular column of that matrix . the column no is given by user & that column will be deleted & save the new matrix to a text file. How i do that. Plz plz help me.
댓글 수: 0
채택된 답변
Grzegorz Knor
2011년 9월 14일
You can delete column in this way:
a = rand(50);
a(:,3) = [];% deletes 3rd column
For other questions see documentation:
doc input
doc save
댓글 수: 0
추가 답변 (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!