Prob with verification - equiv_test function

1 Ansicht (letzte 30 Tage)
D.J
D.J am 7 Okt. 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 !

Antworten (0)

Kategorien

Mehr zu Communications Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by