Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
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
Scilab Enterprises
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