FCS Express: Parameter Math

Parameter math is a powerful feature lets you quickly and easily create new parameters based upon old ones. It is perfect for those experiments where you need a ratio of one parameter to another or any other custom defined parameters. Parameter math is also great if you need to slightly change the position of your data for display purposes.

You can easily create a new parameter or overwrite an existing parameter by using formula sequences, which can be single or multiple calculations. You have the option of using either a simple or formula calculation as the equation for using parameter math. In the simple parameter math option, the calculated parameters can be a function of two pre-existing parameters or one pre-existing parameter and a constant. Please see the Using Parameter Math topic in our manual for additional details as well as the information below.




By using the formula parameter math option, you have the advantage that you can combine multiple parameters and multiple different calculations in a single formula. Formulas are entered as mathematical equations, where the parameter number is represented by Pn, where n is the parameter number. Some valid formulas are:

  • P1+P2
  • (P1+P2)/(P4-100)
  • sin(P3)/cos(P4)

The valid mathematical operators are addition, subtraction, multiplication and division, as well as the functions listed in the table below.

Function Explanation
SQR Square function which can be used as SQR(X)
SIN Sine function which can be used as SIN(X). Sin returns the sine of the angle X in radians.
COS Cosine function which can be used as COS(X). COS returns the cosine of the angle X in radians
ATAN ArcTangent function which can be used as ATAN(X)
SINH Hyperbolic Sine function which can be used as SINH(X)
COSH Hyperbolic Cosine function which can be used as COSH(X)
COTAN Cotangent (1/tangent) which can be used as COTAN(X)
TAN Tangent which can be used as TAN(X)
EXP e raised to the power X which can be used as EXP(X)
LN Natural log, which can be used as LN(X)
LOG 10 based log, which can be used as LOG(X)
SQRT Square Root which can be used as SQRT(X)
ABS absolute value, which can be used as ABS(X)
TRUNC Discards the fractional part of a number. e.g. TRUNC(-3.2) is -3, TRUNC(3.2) is 3.
CEIL Rounds a non integer value to the nearest integer that has a value greater than it. i.e. CEIL(-3.2) = 3, CEIL(3.2) = 4
FLOOR Rounds a non integer value to the nearest integer that has a value less than it. ie. FLOOR(-3.2) = -4, FLOOR(3.2) = 3
RND Can be used as RND(X). Generates a random INTEGER number such that 0 <= Result < X.
INTPOW Can be used as INTPOW(base,exponent). The INTPOW function raises Base to an integral power. INTPOW(2, 3) = 8. Note that result of INTPOW(2, 3.4) = 8 as well
POW Can be used as POW (base,exponent). The Power function raises Base to any power. For fractional exponents or exponents greater than MaxInt, Base must be greater than 0.
MIN Can be used as MIN(A,B). Returns the value of A or B, whichever is smaller.
MAX Can be used as MAX(A,B). Returns the value of A or B, whichever is larger