How to delete a particular array and again in the next step create it as a new array in a for loop
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Gova ReDDy
am 14 Jan. 2014
Kommentiert: Gova ReDDy
am 14 Jan. 2014
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 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 14 Jan. 2014
Bearbeitet: Azzi Abdelmalek
am 14 Jan. 2014
Use
your_array=[]
Or
clear Your_array
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!