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에서 Matrix Indexing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!