Resetting arrays

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.

 採用された回答

Walter Roberson
Walter Roberson 2011 年 2 月 5 日

0 投票

Ummm, like
clear VariableName

その他の回答 (1 件)

Amarpal
Amarpal 2011 年 2 月 6 日

0 投票

Thanks a lot. New to MATLAB :)

カテゴリ

ヘルプ センター および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by