What does this syntax mean?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Can you explain to me what does it mean this syntax end-364:end? Thank you
0 commentaires
Réponse acceptée
Image Analyst
le 10 Juil 2013
Modifié(e) : Image Analyst
le 10 Juil 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 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!