The tables below summarize the operators and functions currently supported by QVtrace.
Scalar operations and functions are all supported, and many behave in a similar manner to corresponding ones in Matlab. However, some functions and operations are not currently supported for matrices or vectors. Such functionality is continually growing, and QVtrace will report back to the user when an operation or function is not supported for a given input type.
Operators
Operators 
Description 
Equivalent function 
+ 
Addition 
plus(X,Y) 
& 
And 
and(X,Y) 
&& 
And 

and 
And 

!= 
Distinctness 
ne(X,Y) 
/ 
Matrix or scalar division 
mrdivide(X,Y) 
== 
Equality 
eq(X,Y) 
xor 
Exclusive or 
xor(X,Y) 
> 
Greater than 
gt(X,Y) 
>= 
Greater than or equal to 
ge(X,Y) 
iff 
If and only if (biconditional) 
iff(X,Y) 
impl 
Implication (conditional) 
impl(X,Y) 
 
Inclusive or 
or(X,Y) 
 
Inclusive or 

or 
Inclusive or 

< 
Less than 
lt(X,Y) 
<= 
Less than or equal to 
le(X,Y) 
* 
Matrix or scalar multiplication 
mtimes(X,Y) 
nand 
Negative And 
nand(X,Y) 
nor 
Negative or 
nor(X,Y) 
~ 
Not 
not(X) 
./ 
Piecewise division 
rdivide(X,Y) 
.* 
Piecewise multiplication 
times(X,Y) 
.^ 
Piecewise power 
power(X,Y) 
^ 
Power 
mpower(X,n) 
 
Subtraction 
minus(X,Y) 
X' 
transpose of X 
transpose(X) 
Functions
Functions 
Description 
abs 
Absolute value. Syntax: Y = abs(X) 
acos 
Inverse cosine. Syntax: y = acos(X) 
asin 
Inverse sine. Syntax: Y = asin(X) 
atan 
Inverse tanget. Syntax: Y = atan(X) 
atan2 
Fourquadrant inverse tangent Syntax: P = atan2(Y,X) 
cos 
Cosine. Syntax: Y = cos(X) 
cosh 
Hyperbolic cosine. Syntax: Y = cosh(X) 
dot 
Dot product. Syntax: C = dot(A,B) 
exp 
Natural exponential. Syntax: Y = exp(X) 
exp10 
Exponential base 10. Syntax: Y = exp10(X) 
horzcat 
Concatenate matrices horizontally. Syntax: Y = horzcat(X1,...,Xn) = [X1,X2,...,Xn] where all Xi have the same number or rows. 
inv 
Matrix inv. Syntax: Y = inv(X) 
ite 
Conditional expression ‘ifthenelse’. Syntax: Y = ite(b, X, Y). For example, y = ite(x<0, x, x) is equivalent to y = abs(x) 
log 
Natural logarithm. Syntax: Y = log(X) 
log10 
Logarithm base 10. Syntax: Y = log10(X) 
log2 
Logarithm base 2. Syntax: Y = log2(X) 
nrt 
Two argument (Nth) root. Syntax: Y = nrt(X, n) would be the nth root of X, where ‘X’ must be a scalar and ’n’ an integer. 
prod 
Product of array elements. Syntax: B = prod(A) 
sin 
Sine. Syntax: Y = sin(X) 
sinh 
Hyperbolic sine. Syntax: Y = sinh(X) 
sqrt 
Square root. Syntax: Y = sqrt(X) 
sum 
Sum of array elements. Syntax: S = sum(A) 
tan 
Tangent. Syntax: Y = tan(X) 
tanh 
Hyperbolic tangent. Syntax: Y = tanh(X) 
transpose 
Matrix transpose. Syntax: Y= transpose(X) or Y= X'. 
uminus 
Unary minus. Syntax: Y = uminus(X) or Y = X. 
vertcat 
Concatenate matrices vertically. Syntax: Y = vertcat(X1,...,Xn) = [X1;X2;...;Xn] where all Xi have the same number of columns. 
Comments
0 comments
Article is closed for comments.