Info

この質問は閉じられています。 編集または回答するには再度開いてください。

about creating array

1 回表示 (過去 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