IMAGIN

IMAGIN, IR, IA, --, --, Name, --, --, FACTA
Forms an imaginary variable from a complex variable.

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

IR

Arbitrary reference number assigned to the resulting variable (2 to NV (NUMVAR)). If this number is the same as for a previously defined variable, the previously defined variable will be overwritten with this result.

IA

Reference number of the variable to be operated on.

--, --

Unused fields.

Name

Thirty-two character name for identifying the variable on the printout and displays. Embedded blanks are compressed upon output.

--, --

Unused fields.

FACTA

Scaling factor (positive or negative) applied to variable IA (defaults to 1.0).

Notes

This command forms a new variable from a complex variable by storing the imaginary part as the real part. The imaginary part can then be used in other operations. Used only with harmonic analyses (ANTYPE,HARMIC).

Complex variables are stored in two-column arrays with the real component stored in the first column and the imaginary component stored in the second column. This command extracts the value stored in the second column (that is, imaginary component). However, with harmonic analyses, all variables are stored in two-column arrays as complex variables. If the variable is not complex, then the same value is stored in both columns. This command will extract the variable in the second column of the array, even if this variable is not the imaginary component of a complex variable.

Menu Paths

Main Menu>TimeHist Postpro>Math Operations>Imaginary Part