Prob with verification - equiv_test function

1 次查看(过去 30 天)
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 !

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by