Path: Math/Probability
% Compare the relative accuracy of two signals. The demo is for the case in which there are 7 positive signs out of 10 cases. -------------------------------------------------------------------------- Form: [s, nPos] = SignTest( x1, x2 ) -------------------------------------------------------------------------- ------ Inputs ------ x1 (1,:) Sample set 1 x2 (1,:) Sample set 2 ------- Outputs ------- s (1,1) Confidence that they are identical nPos (1,1) Number of positive signes --------------------------------------------------------------------------
Math: Probability/Combinations
Back to the Math Module page