reshape (Matlab function)

Reshape array

Matlab/Scilab equivalent

Matlab Scilab

reshape
`matrix`_

Particular cases

To get the same result for character string matrices in Scilab than in Matlab, convert Scilab character string matrices using mstr2sci.

All unspecified dimensions are represented by a [] input in Matlab while in Scilab they are given by a -1.

Matlab reshape suppresses singleton higher dimension, it is not the case for matrix in Scilab.

Table Of Contents

This Page