Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский
Aide de Scilab >> Code Matlab => Scilab > Equivalences Matlab -> Scilab > R > reshape (Matlab function)

reshape (Matlab function)

Reshape array

Matlab/Scilab equivalent

Matlab Scilab
reshape(A, Sizes)
reshape(A, s1, s2)
reshape(A, s1, [])
reshape(A, s1, s2, s3, ..)
matrix(A, Sizes)
matrix(A, s1, s2)
matrix(A, s1, -1)
matrix(A, s1, s2, s3, ..)

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

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:33:08 CET 2022