Scilab Website | Contribute with GitLab | Scilab Community | 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 2026.1.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
    • 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:
Tue Jul 20 11:10:43 CEST 2021