Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - English


Matrix generation

  • random
    • grandGenerate random numbers
    • prbs_aGenerates a pseudo random binary sequence
    • randRandom numbers
    • sampleSampling: random draw 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-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:
Mon Jun 17 17:49:15 CEST 2024