Could someone explain the squeeze function
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shivam
am 28 Aug. 2018
Kommentiert: KALYAN ACHARJYA
am 28 Aug. 2018
I'm new to matlab and struggling to understand the squeeze function, what does it exactly do?
1 Kommentar
KALYAN ACHARJYA
am 28 Aug. 2018
As you changed the question, please ask a new question, don't edit the question again after getting the answer.
Akzeptierte Antwort
KALYAN ACHARJYA
am 28 Aug. 2018
Bearbeitet: KALYAN ACHARJYA
am 28 Aug. 2018
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!