<< moc_spdiags Matlab/Octave Compatibility toolbox moc_sumsq >>

Matlab/Octave Compatibility toolbox >> Matlab/Octave Compatibility toolbox > moc_squeeze

moc_squeeze

Remove singleton dimensions from X and return the result

Calling Sequence

B = moc_squeeze(A)

Description

Remove singleton dimensions from X and return the result. Note that for compatibility with MATLAB, all objects have a minimum of two dimensions and row vectors are left unchanged.


Report an issue
<< moc_spdiags Matlab/Octave Compatibility toolbox moc_sumsq >>