Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = round((1+rand)*10)/10;
tic; your_fcn_name(x); your_time=toc
y_correct = x;
assert(isequal(your_fcn_name(x),y_correct))
assert(your_time>x/2)
your_time =
6.0900e-04
|
3375 Solvers
Back to basics 12 - Input Arguments
525 Solvers
163 Solvers
387 Solvers
Area of an equilateral triangle
2759 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!