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 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Elementary Functions > Matrix generation

Matrix generation

  • random
    • grandRandom numbers
    • noisegennoise generation (obsolete)
    • prbs_aGenerates a pseudo random binary sequence
    • randRandom numbers
    • sampleSampling with replacement
    • samplefsample values with replacement from a population with given frequencies.
    • samwrSampling without replacement
  • blockdiagCreates a block diagonal matrix from provided arrays. Block diagonal system connection.
  • diagdiagonal including or extracting
  • empty []empty matrix. Array ranges destructor.
  • eyeidentity matrix
  • linspacegenerates linearly spaced numbers between 2 reached bounds
  • logspacelogarithmically spaced vector
  • meshgridCreate matrices or 3-D arrays from vectors replicated in 2 or 3 dimensions
  • ndgridbuild matrices or N-D arrays by replicating some template vectors
  • onesmatrix made of ones
  • permsGenerate the table of permutations of given elements
  • 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)
  • zerosnull matrix
Report an issue
<< Discrete mathematics Elementary Functions Log - exp - power >>

Copyright (c) 2022-2023 (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:
Mon Jan 03 14:23:23 CET 2022