Scilab Website | Contribute with GitLab | Scilab Community | ATOMS toolboxes
Scilab Online Help
2023.0.0 - English


Matrix - shaping

  • Shape tests
    • iscolumn — check if a variable is a column
    • ismatrix — checks if an object is a non-empty 1D or 2D matrix or array
    • isrow — check if a variable is a row
    • isscalar — check if a variable is a scalar.
    • issquare — check if a variable is a square matrix
    • isvector — check if a variable is a vector
  • cat — stacks vectors matrices or arrays into an hypermatrix or hyperarray
  • circshift — circularly shifts elements or subarrays of an array (regular, of structures, cells, custom)
  • flipdim — reverses the order of (blocks of) rows, columns, pages.. of an array
  • matrix — reshapes an array with the same number and order of components
  • permute — permutes the dimensions of an array
  • pertrans — Transposition with reference to the 2nd diagonal
  • resize_matrix — trim or/and extend (and cast) a matrix or hypermatrix
  • squeeze — removes singleton dimensions of a ND-array
  • tril — lower triangular part of matrix
  • triu — upper triangle
Report an issue
<< Integers Elementary Functions Matrix operations >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
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:
Mon Mar 27 11:52:42 GMT 2023