Prob with verification - equiv_test function

1 view (last 30 days)
D.J
D.J on 7 Oct 2018
Hi all, I am trying to verify my excel calculations with matlab calculations, and I am getting a small difference which is affecting my verification function. I have to use "equiv_test" function. I have included the m file for this function. and the code I am writing is:
here is the code:
Sigma_Phi9_10_hand = 9.1564
sigma_Phi9_10 = 9.6517
if equiv_test(sigma_Phi9_10,Phi9_mu_10_hand);
disp('Q4 Req3 Part1-b'),
disp('Verfification: Manual vector creation and calculation was done correctly');
else
error('Verification : Manual vector creation and calculation was NOT done correctly');
end
Any suggestions on how to tell matlab to ignore the small difference? Many thanks in advance !

Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!