view test/classes/@Snork/gt.m @ 18688:11d1f3d1ab0d draft

Fully single type support & clean the code
author LYH <lyh.kernel@gmail.com>
date Fri, 21 Mar 2014 14:59:38 -0400
parents b1283d4c06c2
children
line wrap: on
line source

function b = gt (s1, s2)

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

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

end