Owning Class: basic
Requires: MathScript RT Module
c = real(a)
Extracts the real parts of the input elements.
| Name | Description |
|---|---|
| a | Specifies a numeric scalar, vector, or matrix. |
| Name | Description |
|---|---|
| c | Returns the real parts of the elements in a. c is a matrix of the same size as a. |
A = exp(pi*i/4)
C = real(A)