Resetting arrays

24 次查看(过去 30 天)
Amarpal
Amarpal 2011-2-5
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
Ummm, like
clear VariableName

更多回答(1 个)

Amarpal
Amarpal 2011-2-6
Thanks a lot. New to MATLAB :)

类别

Help CenterFile Exchange 中查找有关 Sparse Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by