Resetting arrays

16 views (last 30 days)
Amarpal
Amarpal on 5 Feb 2011
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.

Accepted Answer

Walter Roberson
Walter Roberson on 5 Feb 2011
Ummm, like
clear VariableName

More Answers (1)

Amarpal
Amarpal on 6 Feb 2011
Thanks a lot. New to MATLAB :)

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!