Solved by albanD in post #2 
              
              
                Hi, 
Squeeze only works if the size of a given dimension is 1. 
If you want to remove a dimension of size > 1 then you need to use a function to do that reduction like sum or max or mean.