필터 지우기
필터 지우기

matrix manipulation

조회 수: 1 (최근 30일)
eri
eri 2011년 12월 21일
how to remove row(s) or column(s) of a matrix and save the new matrix with different name? and is there any limit on how big of matrix that can be processed by matlab?

채택된 답변

Chandra Kurniawan
Chandra Kurniawan 2011년 12월 21일
Just use [] for any column or row that you want to remove.
Eq :
A = round(10*rand(10));
B = A;
B(3, :) = []
  댓글 수: 4
eri
eri 2011년 12월 21일
thank you
Friedrich
Friedrich 2011년 12월 21일
MATLAB has a maximum size of matrices. It is limited by the amount of elements in a matrix not by the dimension. The computer command gives you that limit:
[str,maxsize] = computer returns the integer maxsize, the maximum number of elements allowed in an array with this version of MATLAB
And of course the it depends on the memory and bitness of your system:
http://www.mathworks.com/support/tech-notes/1100/1107.html#1

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by