What does this syntax mean?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Can you explain to me what does it mean this syntax end-364:end? Thank you
0 comentarios
Respuesta aceptada
Image Analyst
el 10 de Jul. de 2013
Editada: Image Analyst
el 10 de Jul. de 2013
It looks like it would be inside an array and mean that it's taking the last 365 elements of the array. E.g.
last365elements = data(end-364:end);
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!