Engineering - IMSUB Function



Description

The IMSUB function returns the difference of two complex numbers in x + yi or x + yj text format. When subtracting complex numbers, the real and imaginary coefficients are subtracted separately i.e., the equation to subtract complex number c+di from complex number a + bi is −

(a + bi) - (c + di) = (a - c) + (b - d)i

Syntax

IMSUB (inumber1, inumber2)

Arguments

Argument Description Required/ Optional
Inumber1 The complex number from which to subtract inumber2. Required
Inumber2 The complex number to subtract from inumber1. Required

Notes

  • Complex Numbers in Excel are simply stored as text.

  • 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 a simple numeric value, as this is equivalent to a complex number whose imaginary coefficient is equal to 0.

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

  • If one or both of the inumber arguments is not recognized as a Complex Number, IMSUB returns the #NUM! error.

  • If one or both of the inumber arguments is a logical value, IMSUB returns the #VALUE! error.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

IMSUB Function
advanced_excel_engineering_functions.htm
Advertisements