view test/classes/@Snork/ge.m @ 15985:f75ffcc82acb

Added tests for the legacy class system. * double.m, eq.m, ge.m, gt.m, horzcat.m, ldivide.m, le.m, lt.m, minus.m, mldivide.m, mpower.m, mrdivide.m, mtimes.m, ne.m, plus.m, power.m, rdivide.m, times.m, uminus.m, uplus.m, vertcat.m: New overloaded class methods. * test_classes.m: Add tests. Rewrite some tests to ensure they run in Matlab without modification.
author Julien Bect <julien.bect@supelec.fr>
date Sun, 27 Jan 2013 12:29:00 +0100
parents
children b1283d4c06c2
line wrap: on
line source

function b = ge(s1, s2)

  x1 = double(s1);
  x2 = double(s2);

  b = (x1(1) >= x2(1));

end