Prob with verification - equiv_test function

1 visualización (últimos 30 días)
D.J
D.J el 7 de Oct. de 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 !

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by