how to deal with this error??
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Good mind
am 26 Dez. 2017
Bearbeitet: Good mind
am 27 Mai 2018
When i write the code i get *The variable'DG4' appears to change size on every loop iteration(within a script). Consider preallocating for speed
What should i do??
t4=122;
n4=2000;
for i=1:n4
if abs(d4(i))>t4
DG4(i)=d4(i)-((t4.^2)/d4(i));
end
end
d4 is a signal of 1x2000 double
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!