# Math Functions in POSTFEKO

View the list of supported math functions.

Shortcut Key | Description |
---|---|

ABS | Absolute value |

ARCCOS | Arccosine (radians) |

ARCCOT | Arccotangent (radians) |

ARCSIN | Arcsine (radians) |

ARCTAN | Arctangent (radians) |

ATAN2 |
Arctangent of Y/X in the range -PI to PI Syntax: |

CEIL | Smallest integer value that is equal or greater than the argument |

COS | Cosine (radians) |

COSH | Hyperbolic cosine (radians) |

COT | Cotangent (Radians) |

DD |
Polynomial derivative of a function Syntax: Example: |

DEG | Convert radians to degrees |

EXP | Exponential function |

FFT |
Fast Fourier transforms of a real function. The bandwidth can be provided as additional argument. Syntax: Example: |

FLOOR | Largest integer value that is equal to or smaller than the argument |

FMOD |
Resulting reminder of a/b. Syntax: |

IFFT |
Inverse Fast Fourier transform of a complex function. The resulting range can be specified as additional argument. Syntax: Example: |

IMAG | Determines the imaginary component |

LN |
Computes the natural logarithm Syntax: Example: |

LOG | Computes logarithm base 10 |

MAX |
Returns the largest of the two arguments Syntax: |

MIN |
Returns the smallest of the two arguments Syntax: |

NORM |
Normalise a function Syntax: Example: |

ONES |
Creates a list of points with a constant value 1 Syntax: |

PEAK |
Returns the peak value in the given range of values Syntax: Example: |

PHASE | Determines the phase |

RAD | Convert degrees to radians |

RAMP |
Ramp function Syntax: Example: |

REAL | Determines the real component |

SELF | A reference to the current trace |

SIN | Sine (Radians) |

SINH | Hyperbolic sine (Radians) |

SQRT | Square root |

STEP |
Step function Syntax: |

TAN | Tangent (Radians) |

TANH | Hyperbolic tangent (radians) |

ZEROS |
Creates a list of points with a constant value of 0 Syntax: |

## Predefined Variables

Variable | Description |
---|---|

i | Imaginary unit |

j | Imaginary unit |

c0 | The speed of light in free space in m/sec. |

eps0 | The permittivity of free space in F/m. |

mu0 | The permeability of free space in H/m. |

pi | The mathematical constant (Ludolph’s number). |

zf0 | The characteristic impedance of free space in Ohm. |