Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - English


Matrix - shaping

  • Shape tests
    • iscolumncheck if a variable is a column
    • ismatrixchecks if an object is a non-empty 1D or 2D matrix or array
    • isrowcheck if a variable is a row
    • isscalarcheck if a variable is a scalar.
    • issquarecheck if a variable is a square matrix
    • isvectorcheck if a variable is a vector
  • catstacks vectors matrices or arrays into an hypermatrix or hyperarray
  • circshiftcircularly shifts elements or subarrays of an array (regular, of structures, cells, custom)
  • flipdimreverses the order of (blocks of) rows, columns, pages.. of an array
  • matrixreshapes an array with the same number and order of components
  • permutepermutes the dimensions of an array
  • pertransTransposition with reference to the 2nd diagonal
  • resize_matrixtrim or/and extend (and cast) a matrix or hypermatrix
  • squeezeremoves singleton dimensions of a ND-array
  • trillower triangular part of matrix
  • triuupper triangle
Report an issue
<< Integers Elementary Functions Matrix operations >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Oct 24 14:30:03 CEST 2023