EasyManua.ls Logo

Cleverscope CS300 - Page 126

Default Icon
188 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cleverscope CS300 Reference Manual v2.11
Page 126 www.cleverscope.com ©Cleverscope 2004-2015
Freq(Amax):1
X:Y Sig
Gen
b
Sets the Signal Generator to output (i.e. track) an input signal. The
frequency output is saved in b.
This example can take a square wave input (or anything else for that matter) and produce a tracking generator,
outputting a sine wave of the fundamental frequency. This could be useful for waveform clean up, transfer
functions, making a VCO, etc.
19.2.1 Maths Equations Operators and Functions
The Maths equation editor supports the + - * / ^ ( ) operators.
The : operator is a special operator that is used to separate the two values that are used by some processes.
It supports the following functions, which can be used to construct each Maths equation using the operators.
Each operator and function acts on the sample set point by point.
Function
Explanation
ltz
lez
eqz
gez
gtz
sign
abs
acos
acosh
asin
asinh
atan
atanh
ceil
cos
cosh
cot
csc
exp
expm1
floor
getexp
getman
int
intrz
ln
lnp1
log
log2
rand
sec
sin
sinc
sinh
sqrt
tan
tanh
Returns 1 if value less than zero, otherwise 0.
Returns 1 if value less than or equal to zero, otherwise 0.
Returns 1 if value equal to zero, otherwise 0.
Returns 1 if greater or equal to zero, otherwise 0.
Returns 1 if value greater than zero, otherwise 0.
Returns -1 if value < 0, 0 if value = 0, +1 if value >0
Returns the absolute value of x.
Computes the inverse cosine of x in radians.
Computes the inverse hyperbolic cosine of x.
Computes the inverse sine of x in radians.
Computes the inverse hyperbolic sine of x.
Computes the inverse tangent of x in radians.
Computes the inverse hyperbolic tangent of x.
Rounds x to the next higher integer (smallest integer x).
Computes the cosine of x, where x is in radians.
Computes the hyperbolic cosine of x.
Computes the cotangent of x (1/tan(x)), x is in radians.
Computes the cosecant of x (1/sin(x)), where x in radians.
Computes the value of e raised to the x power.
Computes e raised to the x power minus 1 ((e^x) 1).
Truncates x to the next lower integer (largest integer x).
Returns the exponent of x.
Returns the mantissa of x.
Rounds x to the nearest integer.
Rounds x to the nearest integer between x and zero.
Computes the natural logarithm of x (to the base of e).
Computes the natural logarithm of (x + 1).
Computes the logarithm of x (to the base of 10).
Computes the logarithm of x (to the base of 2).
Random number between 0 and 1 exclusively.
Computes the secant of x, where x is in radians (1/cos(x)).
Computes the sine of x, where x is in radians.
Computes the sine of x divided by x (sin(x)/x), x in radians.
Computes the hyperbolic sine of x.
Computes the square root of x.
Computes the tangent of x, where x is in radians.
Computes the hyperbolic tangent of x.

Table of Contents