Engineering - IMABS Function



Description

The IMABS function returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.

Complex Numbers in Excel

  • Complex numbers are simply stored as text in Excel.

  • When a text string in the format "a+bi" or "a+bj" is supplied to one of Excel's built-in complex number functions, this is interpreted as a complex number.

  • The complex number functions can accept simple numeric values, as this is equivalent to a complex number whose imaginary coefficient is equal to 0.

Modulus of a Complex Number

  • The absolute value (the modulus) of a complex number is calculated as the square root of the sum of the squares of the real and imaginary coefficients, i.e. the modulus of the complex number, z = a + bi is −

    $$\left | z \right |=\sqrt{a^2 + b^2}$$

Syntax

IMABS (inumber)

Arguments

Argument Description Required/ Optional
Inumber A complex number for which you want the absolute value. Required

Notes

  • Use COMPLEX to convert real and imaginary coefficients into a complex number.

  • If Inumber is not recognized as a complex number, the function IMABS returns a #NUM! error.

  • If Inumber is a logical value, the function IMABS returns a #VALUE! Error.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

IMABS Function
advanced_excel_engineering_functions.htm
Advertisements