Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - 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.
See the recommended documentation of this function

Scilab Help >> Elementary Functions > Matrix generation

Matrix generation

  • diagdiagonal including or extracting
  • empty([]) empty matrix
  • eyeidentity matrix
  • grandRandom numbers
  • linspacegenerates linearly spaced numbers between 2 reached bounds
  • logspacelogarithmically spaced vector
  • meshgridcreate matrices or 3-D arrays
  • ndgridbuild matrices or N-D arrays by replicating some template vectors
  • onesmatrix made of ones
  • randRandom numbers
  • repmatReplicate and tile an array
  • squarewavegenerates a square wave with period 2*%pi
  • testmatrixgenerate special matrices, such as Hilbert, Franck
  • toeplitzToeplitz matrix (chosen constant diagonal bands)
  • zerosmatrix made of zeros
Report an issue
<< Discrete mathematics Elementary Functions Log - exp - power >>

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:
Thu Feb 14 14:57:12 CET 2019