Filter löschen
Filter löschen

Error in coding..help needed

4 Ansichten (letzte 30 Tage)
Sherif
Sherif am 24 Mär. 2011
Coding
cosintegral(k,i,jj)=s((k-1)*100+jj).*sinerom(i,jj);
Error
The variable 'cosintegral' appears to change size on every loop iteration (within a script). consider preallocating for speed.

Akzeptierte Antwort

Matt Fig
Matt Fig am 24 Mär. 2011
That isn't an error, but a warning, right?
You must have looked at the other question you asked about this problem. Do you consider that question closed?
cosintegral = zeros(size(a,2),2,100);
Put this before the loop.
  1 Kommentar
Sherif
Sherif am 25 Mär. 2011
thanks it is really help ful

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by