Real component of a complex scalar, specified as a scalar.

**Data Types: **`single`

| `double`

Imaginary component of a complex scalar, specified as a scalar.

If `b`

is `double`

, you can
use the character, `i`

, without a multiplication
sign as a suffix in forming the complex numerical constant.

**Example: **`7i`

If `b`

is `single`

, you must
use a multiplication sign when forming the complex numerical constant.

**Example: **`single(7)*i`

**Data Types: **`single`

| `double`

Real component of a complex array, specified as a scalar, vector,
matrix, or mulitdimensional array.

The size of `x`

must match the size of `y`

,
unless one is a scalar. If either `x`

or `y`

is
a scalar, MATLAB^{®} expands the scalar to match the size of the
other input.

`single`

can combine with `double`

.

**Data Types: **`single`

| `double`

Imaginary component of a complex array, specified as a scalar,
vector, matrix, or mulitdimensional array.

The size of `x`

must match the size of `y`

,
unless one is a scalar. If either `x`

or `y`

is
a scalar, MATLAB expands the scalar to match the size of the
other input.

`single`

can combine with `double`

.

**Data Types: **`single`

| `double`