What does this syntax mean?
6 次查看(过去 30 天)
显示 更早的评论
Can you explain to me what does it mean this syntax end-364:end? Thank you
0 个评论
采纳的回答
Image Analyst
2013-7-10
编辑:Image Analyst
2013-7-10
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!