MATLAB: How to convert a 1x1x50 matrix to a vector squeeze How to convert a 1x1x50 matrix to a vector? Best Answer Use squeeze():vec = squeeze(yourMatrix); Related SolutionsMATLAB: How to convert a vector to a matrix in Matlab a=[1 2 3 4 5 6 7 8 9]reshape(a,3,3) MATLAB: If i have matrix i want to convert it to vector transpose(reshape(b,3,[])) Related QuestionHow can i reshape a matrix into a vectorHow to turn an 1x1x3 array to a 1×3 vectorConvert matrix in single column/row vector
Best Answer