Performs a logical greater-than comparison. Imaginary components of x and y are ignored.
Syntax |
Description |
---|---|
out = y > x; |
Greater than. |
Examples
This example shows the usage of the ">" operator.
x=[1+3i, 2+5i]; y=[0.5+4i, 3+10i]; ?x>y; Warning: prompt line 3: in expression A > B, imaginary parts of A and B are ignored result: 1 0
See Also
List of commands , == , != , <= , >= , < , almostequal , & , and , | , or , ! , ~