Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = -pi/2;
y_correct = sin(x);
assert(abs(my_func(x)-y_correct)<0.0001)
|
2 | Fail |
x = rand(1)*2*pi;
y_correct = sin(x);
assert(abs(my_func(x)-y_correct)<0.0001)
|
3 | Fail |
assessFunctionAbsence({'cos', 'sin'}, 'FileName', 'my_func.m');
|
9872 Solvers
404 Solvers
282 Solvers
5465 Solvers
498 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!