what is relational operator in matlab?
Description. The relational operators are < , > , <= , >= , == , and ~= . Relational operators perform element-by-element comparisons between two arrays. They return a logical array of the same size, with elements set to true (1) where the relation is true, and elements set to false (0) where it is not.