How to delete a particular array and again in the next step create it as a new array in a for loop
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gova ReDDy
el 14 de En. de 2014
Comentada: Gova ReDDy
el 14 de En. de 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 comentarios
Azzi Abdelmalek
el 14 de En. de 2014
I mean give a short example and explain what you want to achieve
Respuesta aceptada
Azzi Abdelmalek
el 14 de En. de 2014
Editada: Azzi Abdelmalek
el 14 de En. de 2014
Use
your_array=[]
Or
clear Your_array
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!