필터 지우기
필터 지우기

Prob with verification - equiv_test function

조회 수: 1 (최근 30일)
D.J
D.J 2018년 10월 7일
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