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

Change language to:
Français - 日本語 - Português

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

Scilab help >> Elementary Functions

Elementary Functions

  • Bitwise operations
  • Discrete mathematics
    • binomial — binomial distribution probabilities
    • factor — factor function
    • factorial — The factorial function
    • perms — all permutations of vector components
    • primes — primes function
    • rat — Floating point rational approximation
  • Elementary matrices
    • diag — diagonal including or extracting
    • eye — identity matrix
    • ind2sub — linear index to matrix subscript values
    • linspace — linearly spaced vector
    • logspace — logarithmically spaced vector
    • meshgrid — create matrices or 3-D arrays
    • ndgrid — arrays for multidimensional function evaluation on grid
    • ones — matrix made of ones
    • rand — random number generator
    • sub2ind — matrix subscript values to linear index
    • zeros — matrix made of zeros
  • Floating point
    • ceil — rounding up
    • double — conversion from integer to double precision representation
    • fix — rounding towards zero
    • floor — rounding down
    • frexp — dissect floating-point numbers into base 2 exponent and mantissa
    • int — integer part
    • isinf — check for infinite entries
    • isnan — check for "Not a Number" entries
    • nearfloat — get previous or next floating-point number
    • nextpow2 — next higher power of 2.
    • number_properties — determine floating-point parameters
    • round — rounding
  • Integer representation
    • base2dec — conversion from base b representation to integers
    • bin2dec — integer corresponding to a binary form
    • dec2bin — binary representation
    • dec2hex — hexadecimal representation of integers
    • dec2oct — octal representation of integers
    • hex2dec — conversion from hexadecimal representation to integers
    • oct2dec — conversion from octal representation to integers
  • Matrix manipulation
    • flipdim — flip x components along a given dimension
    • permute — permute the dimensions of an array
    • repmat — Replicate and tile an array
    • resize_matrix — create a new matrix with a different size
  • Matrix operations
    • cumprod — cumulative product of array elements
    • cumsum — cumulative sum of array elements
    • kron — Kronecker product (.*.)
    • prod — product of array elements
    • sum — sum of array elements
    • tril — lower triangular part of matrix
    • triu — upper triangle
  • Search and sort
    • dsearch — search in ordered sets
    • gsort — sorting by quick sort agorithm
    • lex_sort — lexicographic matrix rows sorting
    • vectorfind — finds in a matrix rows or columns matching a vector
  • Set operations
    • intersect — returns the vector of common values of two vectors
    • setdiff — returns components of a vector which do not belong to another one
    • union — extract union components of a vector
    • unique — extract unique components of a vector or matrices
  • Signal processing
    • bloc2exp — block-diagram to symbolic expression
    • bloc2ss — block-diagram to state-space conversion
    • pen2ea — pencil to E,A conversion
    • ssrand — random system generator
    • sysconv — system conversion
    • sysdiag — block diagonal system connection
    • syslin — linear system definition
    • trfmod — poles and zeros display
  • Symbolic
    • solve — symbolic linear system solver
    • trianfml — symbolic triangularization
    • trisolve — symbolic linear system solver
  • Trigonometry
    • acos — element wise cosine inverse
    • acosd — element wise cosine inverse, result in degree.
    • acosh — hyperbolic cosine inverse
    • acoshm — matrix hyperbolic inverse cosine
    • acosm — matrix wise cosine inverse
    • acot — computes the element-wise inverse cotangeant of the argument.
    • acotd — computes the element-wise inverse cotangeant of the argument result in degree.
    • acoth — element wise hyperbolic cotangeant inverse.
    • acsc — computes the element-wise inverse cosecant of the argument.
    • acscd — computes the element-wise inverse cosecant of the argument, results in degree.
    • acsch — computes the element-wise inverse hyperbolic cosecant of the argument.
    • asec — computes the element-wise inverse secant of the argument.
    • asecd — computes the element-wise inverse secant of the argument, results in degree.
    • asech — computes the element-wise inverse hyperbolic secant of the argument.
    • asin — sine inverse
    • asind — sine inverse, results in degree
    • asinh — hyperbolic sine inverse
    • asinhm — matrix hyperbolic inverse sine
    • asinm — matrix wise sine inverse
    • atan — 2-quadrant and 4-quadrant inverse tangent
    • atand — 2-quadrant and 4-quadrant element-wise inverse tangent, result in degree.
    • atanh — hyperbolic tangent inverse
    • atanhm — matrix hyperbolic tangent inverse
    • atanm — square matrix tangent inverse
    • conj — conjugate
    • cos — cosine function
    • cosd — element-wise cosine function, argument in degree
    • cosh — hyperbolic cosine
    • coshm — matrix hyperbolic cosine
    • cosm — matrix cosine function
    • cotd — cotangent
    • cotg — cotangent
    • coth — hyperbolic cotangent
    • cothm — matrix hyperbolic cotangent
    • csc — Computes the element-wise cosecant of the argument.
    • cscd — Computes the element-wise cosecant of the argument given in degree.
    • csch — Computes the element-wise hyperbolic cosecant of the argument.
    • csgn — Returns the sign of a vector of real of complex values.
    • sec — Compute the element-wise secant of the argument.
    • secd — Compute the element-wise secant of the argument given in degree.
    • sech — Compute the element-wise hyperbolic secant of the argument.
    • sin — sine function
    • sinc — sinc function
    • sind — sine function, argument in degree.
    • sinh — hyperbolic sine
    • sinhm — matrix hyperbolic sine
    • sinm — matrix sine function
    • tan — tangent
    • tand — tangent, argument in degree.
    • tanh — hyperbolic tangent
    • tanhm — matrix hyperbolic tangent
    • tanm — matrix tangent
  • abs — absolute value, magnitude
  • amell — Jacobi's am function
  • and — logical and of the elements of an array
  • and_op — logical and operator
  • cat — concatenate several arrays
  • cell2mat — convert a cell array into a matrix
  • cellstr — convert strings vector (or strings matrix) into a cell of strings
  • char — char function
  • delip — complete and incomplete elliptic integral of first kind
  • diff — Difference and discrete derivative
  • exp — element-wise exponential
  • imag — imaginary part
  • imult — multiplication by i the imaginary unitary
  • inttrap — integration of experimental data by trapezoidal interpolation
  • isdef — checks variable existence
  • isempty — check if a variable is an empty matrix or an empty list
  • isequal — objects comparison
  • isequalbitwise — bitwise comparison of variables
  • isreal — check if a variable as real or complex entries
  • isvector — check if a variable is a vector
  • log — natural logarithm
  • log10 — logarithm
  • log1p — computes with accuracy the natural logarithm of its argument added by one
  • log2 — base 2 logarithm
  • logm — square matrix logarithm
  • lstsize — list, tlist, mlist numbers of entries
  • max — maximum
  • min — minimum
  • modulo — positive arithmetic remainder modulo m
  • ndims — number of dimensions of an array
  • norm — matrix norms
  • or — logical or of the elements of an array
  • or_op — logical or operator
  • pertrans — pertranspose
  • real — real part
  • sign — sign function
  • signm — matrix sign function
  • size — size of objects
  • sqrt — square root
  • sqrtm — matrix square root
  • squarewave — generates a square wave with period 2*%pi
  • toeplitz — toeplitz matrix
  • typeof — object type
<< Differential Equations, Integration Scilab help Linear Algebra >>

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:
Thu Mar 03 10:59:36 CET 2011