IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
vectorcomp_difference.m
Go to the documentation of this file.
1 %> Vector Comparer - Difference between means
2 %>
3 %> Subtracts: mean(v1)-mean(v2)
4 %>
5 %> A positive value means that the first number is higher than the second.
7  methods(Access=protected)
8  function z = do_test(o, v1, v2)
9  z = mean(v1)-mean(v2);
10  z = [z, -z];
11  end;
12  end;
13 
14  methods
15  function o = vectorcomp_difference(o)
16  o.classtitle = 'Difference';
17  o.flag_params = 0;
18  end;
19  end;
20 end
Paired Vector Comparer base class.
Definition: vectorcomp.m:9