Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

about creating array

1 visualizzazione (ultimi 30 giorni)
vijay rao
vijay rao il 21 Feb 2012
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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 Commenti
Walter Roberson
Walter Roberson il 27 Feb 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Walter Roberson
Walter Roberson il 27 Feb 2012
Duplicate is at http://www.mathworks.com/matlabcentral/answers/28362-about-audio-processing

Risposte (1)

Benjamin Schwabe
Benjamin Schwabe il 21 Feb 2012
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?

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by