Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

about creating array

조회 수: 2 (최근 30일)
vijay rao
vijay rao 2012년 2월 21일
마감: MATLAB Answer Bot 2021년 8월 20일
sir this is very urgent please help me please tell me how can i increase size of an array in matlab and please gimme one example and sir while writing code for i getting an error as matrix dimension must agree sir is there any solution for this error? please help me sir thank you
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 2월 27일
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Walter Roberson
Walter Roberson 2012년 2월 27일
Duplicate is at http://www.mathworks.com/matlabcentral/answers/28362-about-audio-processing

답변 (1개)

Benjamin Schwabe
Benjamin Schwabe 2012년 2월 21일
Could you please be more specific? Is it a numeric array or a cell array? You can add easily an additional row or column like this:
Add a column:
A=[A, c]; when size(A,1)==size(c,1)
Add a row:
A=[A;c]; when size(A,2) == size(c,2)
Does this resolve your issue?

제품

Community Treasure Hunt

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

Start Hunting!

Translated by