Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange

See the recommended documentation of this function

Scilab help >> Elementary Functions

### Elementary Functions

• Bitwise operations
• Complex
• complexCreate a complex number.
• imagimaginary part
• imultmultiplication by i the imaginary unitary
• isrealcheck if a variable as real or complex entries
• realreal part
• Discrete mathematics
• binomialbinomial distribution probabilities
• factorfactor function
• factorialThe factorial function
• permsall permutations of vector components
• primesprimes function
• ratFloating point rational approximation
• Elementary matrices
• diagdiagonal including or extracting
• eyeidentity matrix
• ind2sublinear index to matrix subscript values
• linspacelinearly spaced vector
• logspacelogarithmically spaced vector
• meshgridcreate matrices or 3-D arrays
• ndgridarrays for multidimensional function evaluation on grid
• randrandom number generator
• sub2indmatrix subscript values to linear index
• Floating point
• ceilround up
• doubleconversion from integer to double precision representation
• fixround towards zero
• floorround down
• frexpdissect floating-point numbers into base 2 exponent and mantissa
• intround towards zero
• isinfcheck for infinite entries
• isnancheck for "Not a Number" entries
• nearfloatget previous or next floating-point number
• nextpow2next higher power of 2.
• number_propertiesdetermine floating-point parameters
• roundround to nearest integer
• Integer representation
• base2decconvert from base b to decimal
• bin2decconvert from binary to decimal
• dec2binconvert from decimal to binary
• dec2hexconvert from decimal to hexadecimal
• dec2octconvert from decimal to octal
• hex2decconvert from hexadecimal to decimal
• oct2decconvert from octal to decimal
• Matrix manipulation
• flipdimflip x components along a given dimension
• permutepermute the dimensions of an array
• repmatReplicate and tile an array
• resize_matrixcreate a new matrix with a different size
• Matrix operations
• cumprodcumulative product of array elements
• cumsumcumulative sum of array elements
• kronKronecker product (.*.)
• prodproduct of array elements
• sumsum of array elements
• trillower triangular part of matrix
• triuupper triangle
• Search and sort
• dsearchsearch in ordered sets
• gsortsorting by quick sort agorithm
• lex_sortlexicographic matrix rows sorting
• vectorfindfinds in a matrix rows or columns matching a vector
• Set operations
• intersectreturns the vector of common values of two vectors
• setdiffreturns components of a vector which do not belong to another one
• unionextract union components of a vector
• uniqueextract unique components of a vector or matrices
• Signal processing
• bloc2expblock-diagram to symbolic expression
• bloc2ssblock-diagram to state-space conversion
• pen2eapencil to E,A conversion
• ssrandrandom system generator
• sysconvsystem conversion
• sysdiagblock diagonal system connection
• syslinlinear system definition
• trfmodpoles and zeros display
• Symbolic
• solvesymbolic linear system solver
• trianfmlsymbolic triangularization
• trisolvesymbolic linear system solver
• Trigonometry
• acoselement wise cosine inverse (radians)
• acosdelement wise cosine inverse, result in degree.
• acoshhyperbolic cosine inverse
• acoshmmatrix hyperbolic inverse cosine
• acosmmatrix wise cosine inverse
• acotcomputes the element-wise inverse cotangeant of the argument.
• acotdcomputes the element-wise inverse cotangeant of the argument result in degree.
• acothelement wise hyperbolic cotangeant inverse.
• acsccomputes the element-wise inverse cosecant of the argument.
• acscdcomputes the element-wise inverse cosecant of the argument, results in degree.
• acschcomputes the element-wise inverse hyperbolic cosecant of the argument.
• aseccomputes the element-wise inverse secant of the argument.
• asecdcomputes the element-wise inverse secant of the argument, results in degree.
• asechcomputes the element-wise inverse hyperbolic secant of the argument.
• asindsine inverse, results in degree
• asinhhyperbolic sine inverse
• asinhmmatrix hyperbolic inverse sine
• asinmmatrix wise sine inverse
• atanhhyperbolic tangent inverse
• atanhmmatrix hyperbolic tangent inverse
• atanmsquare matrix tangent inverse
• conjconjugate
• coscosine function
• cosdelement-wise cosine function, argument in degree
• coshhyperbolic cosine
• coshmmatrix hyperbolic cosine
• cosmmatrix cosine function
• cotdcotangent
• cotgcotangent
• cothhyperbolic cotangent
• cothmmatrix hyperbolic cotangent
• cscComputes the element-wise cosecant of the argument.
• cscdComputes the element-wise cosecant of the argument given in degree.
• cschComputes the element-wise hyperbolic cosecant of the argument.
• csgnReturns the sign of a vector of real of complex values.
• secCompute the element-wise secant of the argument.
• secdCompute the element-wise secant of the argument given in degree.
• sechCompute the element-wise hyperbolic secant of the argument.
• sinsine function
• sincsinc function
• sindsine function, argument in degree.
• sinhhyperbolic sine
• sinhmmatrix hyperbolic sine
• sinmmatrix sine function
• tantangent
• tandtangent, argument in degree.
• tanhhyperbolic tangent
• tanhmmatrix hyperbolic tangent
• tanmmatrix tangent
• absabsolute value, magnitude
• amellJacobi's am function
• andlogical and of the elements of an array
• and_oplogical and operator
• catconcatenate several arrays
• cell2matconvert a cell array into a matrix
• cellstrconvert strings vector (or strings matrix) into a cell of strings
• charchar function
• delipcomplete and incomplete elliptic integral of first kind
• diffDifference and discrete derivative
• expelement-wise exponential
• inttrapintegration of experimental data by trapezoidal interpolation
• isdefchecks variable existence
• isemptycheck if a variable is an empty matrix or an empty list
• isequalobjects comparison
• isequalbitwisebitwise comparison of variables
• isvectorcheck if a variable is a vector
• lognatural logarithm
• log10logarithm
• log1pcomputes with accuracy the natural logarithm of its argument added by one
• log2base 2 logarithm
• logmsquare matrix logarithm
• lstsizelist, tlist, mlist numbers of entries
• maxmaximum
• minminimum
• modulopositive arithmetic remainder modulo m
• ndimsnumber of dimensions of an array
• normmatrix norms
• orlogical or of the elements of an array
• or_oplogical or operator
• pertranspertranspose
• signsign function
• signmmatrix sign function
• sizesize of objects
• sqrtsquare root
• sqrtmmatrix square root
• squarewavegenerates a square wave with period 2*%pi
• toeplitztoeplitz matrix
• typeofobject type