How to delete a particular array and again in the next step create it as a new array in a for loop
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Gova ReDDy
il 14 Gen 2014
Commentato: Gova ReDDy
il 14 Gen 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 Commenti
Risposta accettata
Azzi Abdelmalek
il 14 Gen 2014
Modificato: Azzi Abdelmalek
il 14 Gen 2014
Use
your_array=[]
Or
clear Your_array
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!