octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help verifying relational operators with empty matrices


From: Rik
Subject: Help verifying relational operators with empty matrices
Date: Thu, 20 Nov 2014 08:39:39 -0800

11/20/14

Could someone with access to Matlab test the following:

x = [];
y = ones (1,0);
x < y

In Octave, this throws the error

error: mx_el_lt: nonconformant arguments (op1 is 0x0, op2 is 1x0)

but I wonder how Matlab treats it.

Thanks in advance,
Rik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]