Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account

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

Scilab Help >> Elementary Functions > Matrix generation

Matrix generation

  • diagdiagonal including or extracting
  • empty([]) empty matrix
  • eyeidentity matrix
  • 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
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:26:47 CET 2018