Scilab 6.1.0
- Scilab Help
- Scilab
- Differential calculus, Integration
- Elementary Functions
- Linear Algebra
- Interpolation
- Control Systems - CACSD
- Polynomials
- Signal Processing
- FFTW
- Special Functions
- ARnoldi PACKage (ARPACK binding)
- Statistics
- Sparse Matrix
- UMFPACK Interface (sparse)
- Optimization and Simulation
- XML Management
- HDF5 files
- Files : Input/Output functions
- Input/Output functions
- Graphics
- Graphics : exporting and printing
- GUI
- Data Structures
- Parameters
- Strings
- Sound file handling
- Time and Date
- Output functions
- Xcos
- Spreadsheet
- Console
- History manager
- Matlab data files I/O
- Code Matlab => Scilab
- MEX Library API
- Advanced functions
- Testing & benchmarking
- Demo Tools
- Dynamic/incremental Link
- ATOMS
- Tcl/Tk Interface
- Script editor
- UI Data
- Documentation system
- Parallel
- Modules manager
- Multilinguism
- API Scilab
- call_scilab API (Scilab engine)
- Java Virtual Machine (JVM)
- Java from Scilab
- Java Interface
- Preferences
- Scilab code instrumentation
- Lint tool (SLint)
- Web Tools
- Windows tools
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
Elementary Functions
- Bitwise operations
- bitand — bitwise logical AND between element-wise integers of 2 arrays
- bitcmp — bitwise complement
- bitget — Extracts from integers bits of given indices
- bitor — bitwise logical OR between element-wise integers of 2 arrays
- bitset — Sets bits of given indices in some integers
- bitstring — A string giving the literal bit representation of a number
- bitxor — bitwise logical XOR between element-wise integers of 2 arrays
- Complex numbers
- Discrete mathematics
- factor — factor function
- factorial — factorial function : product of the n first positive integers
- gcd — Greatest (positive) Common Divisor
- lcm — least common (positive) multiple of integers or of polynomials
- nchoosek — Computes binomial numbers (n,k) = numbers of combinations
- primes — lists of primes up to a given number
- rat — Floating point rational approximation
- Matrix generation
- random
- 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
- 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
- Log - exp - power
- exp — element-wise exponential
- expm — square matrix exponential
- log — natural logarithm
- log10 — base 10 logarithm
- log1p — computes with accuracy the natural logarithm of its argument added by one
- log2 — Base-2 logarithm. Base-2 exponents and mantissae of some decimal numbers
- logm — square matrix logarithm
- nthroot — Real nth root of real numbers
- polar — polar form
- power — (^,.^) power operation
- sqrt — square root
- sqrtm — matrix square root
- Floating point
- ceil — round up
- clean — cleans matrices (round to zero small entries)
- double — converts inttype integers or booleans into decimal encoding
- fix — round towards zero
- floor — round down
- format — set the default output format of decimal numbers
- ieee — sets or gets the floating point exception mode
- int — round towards zero
- isinf — tests for infinite elements
- 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 — round to nearest integer
- signed zero -0 — Processing of -0 versus 0
- Radix conversions
- base2dec — convert from base b to decimal
- bin2dec — convert from binary to decimal
- dec2base — Convert decimal to base N number in string
- dec2bin — convert from decimal to binary
- dec2hex — convert from decimal to hexadecimal
- dec2oct — convert from decimal to octal
- hex2dec — convert from hexadecimal to decimal
- oct2dec — convert from octal to decimal
- Integers
- Matrix - shaping
- Shape tests
- cat — stacks vectors matrices or arrays into an hypermatrix or hyperarray
- circshift — circularly shifts elements or subarrays of an array (regular, of structures, cells, custom)
- flipdim — reverses the order of (blocks of) rows, columns, pages.. of an array
- matrix — reshapes an array with the same number and order of components
- permute — permutes the dimensions of an array
- pertrans — Transposition with reference to the 2nd diagonal
- resize_matrix — trim or/and extend (and cast) a matrix or hypermatrix
- squeeze — removes singleton dimensions of a hypermatrix
- Matrix operations
- abs — absolute value, magnitude
- and — logical AND between the elements of a boolean or numerical array
- cross — vector cross product
- cumprod — cumulative product of array elements
- cumsum — cumulative sum of array elements
- kron .*. — Kronecker tensorial product. Weighted array replication
- kron .\. ./. — Kronecker left and right divisions
- max — maximum
- min — minimum
- norm — norms of a vector or a matrix
- or — logical OR over the elements of a boolean or numerical array
- prod — product of array elements
- sign — signum function
- signm — matrix signum function
- sum — sum of array elements
- tril — lower triangular part of matrix
- triu — upper triangle
- unwrap — unwrap a Y(x) profile or a Z(x,y) surface. Unfold a Y(x) profile
- Search and sort
- dsearch — distribute, locate and count elements of a matrix or hypermatrix in given categories
- find — find indices of boolean vector or matrix true elements
- gsort — sorting by quick sort algorithm
- members — count (and locate) in an array each element or row or column of another array
- vectorfind — locates occurences of a (wildcarded) vector in a matrix or hypermatrix
- Set operations
- intersect — returns the unduplicated elements or rows or columns met in both input arrays
- perms — Set of permutations of given components
- setdiff — returns elements or rows or columns of an array that do not belong to another one
- union — extract union components of a vector
- unique — extracts (and sorts) distinct elements, rows or columns of a matrix
- Trigonometry
- Matrix-wise processing
- acoshm — matrix hyperbolic inverse cosine
- acosm — matrix wise cosine inverse
- asinhm — matrix hyperbolic inverse sine
- asinm — matrix wise sine inverse
- atanhm — matrix hyperbolic tangent inverse
- atanm — square matrix tangent inverse
- coshm — matrix hyperbolic cosine
- cosm — matrix cosine function
- cothm — matrix hyperbolic cotangent
- sinhm — matrix hyperbolic sine
- sinm — matrix sine function
- tanhm — matrix hyperbolic tangent
- tanm — matrix tangent
- acos — element wise cosine inverse (radians)
- acosd — element wise cosine inverse, result in degree.
- acosh — hyperbolic cosine inverse
- acot — computes the element-wise inverse cotangent of the argument.
- acotd — computes the element-wise inverse cotangent of the argument, result in degree.
- acoth — element wise hyperbolic cotangent 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 (radians)
- asind — sine inverse, results in degree
- asinh — hyperbolic 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
- cos — cosine function
- cosd — element-wise cosine function, argument in degree
- cosh — hyperbolic cosine
- cotd — element-wise cotangent function, argument in degree
- cotg — cotangent
- coth — hyperbolic cotangent
- csc — сomputes the element-wise cosecant of the argument
- cscd — сomputes 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 — computes the element-wise secant of the argument
- secd — computes the element-wise secant of the argument given in degree
- sech — computes the element-wise hyperbolic secant of the argument
- sin — sine function
- sind — sine function, argument in degree.
- sinh — hyperbolic sine
- tan — tangent
- tand — tangent, argument in degree.
- tanh — hyperbolic tangent
- Matrix-wise processing
- &, && — Binary AND between integers. Logical AND over/between booleans and numbers
- extraction — matrix and list entry extraction
- ind2sub — linear index to matrix subscript values
- assignation — partial variable assignation
- isempty — check if a variable is an empty matrix or an empty list
- isequalbitwise — comparison of objects (NaN are equal)
- pmodulo — positive euclidian remainder modulo m
- ndims — number of dimensions of an array
- |, || — Binary OR between integers. Logical OR over/between booleans and numbers
- size — size of objects
- sub2ind — matrix subscript values to linear index
Report an issue | ||
<< Differential calculus, Integration | Scilab Help | Linear Algebra >> |