Re: printing logical variables as "true" and "false"



Hello
In Matlab:

F => 0
T => 1

0 => F
else => T

A possible implementation is extending the intrinsic function INT:

int(logical_var,[kind])


Néstor Grion

.


Quantcast