Is there any way a vector/matrix that is initialized in an iterative program be reset, so that MATLAB doesn't recognize it in the next iteration even after it has been evaluated in a previous iteration, so that it could be resized depending upon the value of a parameter evaluated at runtime during every iteration.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Feb. 2011

0 Stimmen

Ummm, like
clear VariableName

Weitere Antworten (1)

Amarpal
Amarpal am 6 Feb. 2011

0 Stimmen

Thanks a lot. New to MATLAB :)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by