Could someone explain the squeeze function
조회 수: 6 (최근 30일)
이전 댓글 표시
I'm new to matlab and struggling to understand the squeeze function, what does it exactly do?
댓글 수: 1
KALYAN ACHARJYA
2018년 8월 28일
As you changed the question, please ask a new question, don't edit the question again after getting the answer.
채택된 답변
KALYAN ACHARJYA
2018년 8월 28일
편집: KALYAN ACHARJYA
2018년 8월 28일
Question: would it be possible to extract the row 1 column 2 value from each layer of myimage?
Yes
data1=myimage(1,2,:)
And As per title of the question RGB values extraction-
red=myimage(1,2,:,1);
green=myimage(1,2,:,2);
blue=myimage(1,2,:,3);
Same for second case.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!