How to delete a particular array and again in the next step create it as a new array in a for loop
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I am using an array to save the values that are greater than a threshold from a particualr set of values in a for loop.
Can I know how to delete the previous array values and size.And in the next step I want to create it as new array with new size and intialising it to zeros for each iteration of for loop.
Thanks.
4 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 1 月 14 日
編集済み: Azzi Abdelmalek
2014 年 1 月 14 日
Use
your_array=[]
Or
clear Your_array
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!