Scilab Website | Contribute with GitLab | Scilab Community | ATOMS toolboxes
Scilab Online Help
2024.1.0 - English


Matrix generation

  • random
    • grand — Generate random numbers
    • prbs_a — Generates a pseudo random binary sequence
    • rand — Random numbers
    • sample — Sampling: random draw with replacement
    • samplef — sample values with replacement from a population with given frequencies.
    • samwr — Sampling without replacement
  • blockdiag — Creates a block diagonal matrix from provided arrays. Block diagonal system connection.
  • diag — diagonal including or extracting
  • empty [] — empty matrix. Array ranges destructor.
  • eye — identity matrix
  • linspace — generates linearly spaced numbers between 2 reached bounds
  • logspace — logarithmically spaced vector
  • meshgrid — Create matrices or 3-D arrays from vectors replicated in 2 or 3 dimensions
  • ndgrid — build matrices or N-D arrays by replicating some template vectors
  • ones — matrix made of ones
  • perms — Generate the table of permutations of given elements
  • repmat — Replicate and tile an array
  • squarewave — generates a square wave with period 2*%pi
  • testmatrix — generate special matrices, such as Hilbert, Franck
  • toeplitz — Toeplitz matrix (chosen constant diagonal bands)
  • zeros — null matrix
Report an issue
<< Discrete mathematics Elementary Functions Log - exp - power >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
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