In the Cody Coursework platform, there is a built in function called assessVariableEqual. How can I adjust the tolerance of this function?
7 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Steven Lord
on 12 Jun 2018
According to its documentation you use the 'AbsoluteTolerance' and/or 'RelativeTolerance' name/value pairs.
0 Comments
More Answers (1)
Sean de Wolski
on 12 Jun 2018
You can provide an absolute or relative tolerance here: https://www.mathworks.com/help/coursework/ug/assessvariableequal.html#namevaluepairarguments
0 Comments
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!