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!