
quartile3
Given a list or vector, returns the third quartile of the elements of the list or vector. Given a matrix, returns the
third quartile of the columns of the matrix.
quartile3(List) or quartile3(Vector) or quartile3(Matrix)
Example:
quartile3([1,2,3,5,10,4]) returns 5
quartiles
Returns a matrix containing the minimum, rst quartile, median, third quartile, and maximum of the elements
of a list or vector. With a matrix as argument, returns the 5-number summary of the columns of the matrix.
quartiles(List) or quartiles(Vector) or quartiles(Matrix)
Example:
quartiles([1,2,3,5,10,4]) returns
quorem
Returns the Euclidean quotient and remainder of the quotient of two polynomials, each expressed either in
symbolic form directly or as a vector of coeicients. If the polynomials are expressed as vectors of their
coeicients, this command returns a similar vector of the quotient and a vector of the remainder.
quorem(Poly1, Poly2) or quorem(Vector1, Vector2)
Example:
quorem(x^3+2*x^2+3*x+4,-x+2) returns [-x^2-4*x- 11, 26]
quorem([1,2,3,4],[-1,2]) returns [[-1, -4, -11] [26]]
QUOTE
Returns an expression unevaluated.
quote(Expr)
randbinomial
Returns a random number for the binomial distribution of n trials, each with probability of success p.
randbinomial(n, p)
Example:
randbinomial(10, 0.4) returns an integer between 0 and 10
randchisquare
Returns a random number from the Chi-square distribution with n degrees of freedom.
randchisquare(n)
452 Chapter 22 Functions and commands
Comentarios a estos manuales