MATLAB: In the Cody Coursework platform, there is a built in function called assessVariableEqual. How to adjust the tolerance of this function

cody coursework

In the Cody Coursework platform, there is a built in function called assessVariableEqual. It checks to see if two variables are equal to each other to within a tolerance. How can I adjust the tolerance of this function?

Best Answer

According to its documentation you use the 'AbsoluteTolerance' and/or 'RelativeTolerance' name/value pairs.