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

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab Help >> Elementary Functions > Matrix - shaping

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-2024 (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 Jul 20 11:10:43 CEST 2021