the usage of squeeze
2 views (last 30 days)
Show older comments
hello i wanna know what does this command do. I_ij = double(squeeze(Image(i,j,:)))
0 Comments
Answers (1)
the cyclist
on 15 Dec 2016
Edited: the cyclist
on 15 Dec 2016
It removes singleton dimensions from an array.
For example, it will take a 7 x 1 x 300 array and "squeeze" it into a 7 x 300 array.
1 Comment
See Also
Categories
Find more on Performance and Memory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!