Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How do I put elements from one matrix into separate matrices using a loop?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a single matrix that contains the locations of pixels that burned within a geological boundary in a single file, organized by day of the year and longitude. I want to break this up into several matrices containing all of the row information from the first matrix, but contains only pixels that burned on a single day in one location. How can I seperate this large matrix into several matrices using a loop to compare the day of the year and longitude?
댓글 수: 0
답변 (1개)
KSSV
2019년 7월 16일
You can use functions like ismember. You can also use logical indexing. The best would be ismember. Read about the function.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!