Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x=1;
m=4;
n=1;
leaking_correct = 2;
assert(abs(leaking(x,m,n)-leaking_correct)<1000*eps)
|
2 | Pass |
%%
x=1;
m=2;
n=50;
leaking_correct = 0.2;
assert(abs(leaking(x,m,n)-leaking_correct)<1000*eps)
|
3 | Pass |
%%
x=0.2;
m=50;
n=2;
leaking_correct = 1;
assert(abs(leaking(x,m,n)-leaking_correct)<1000*eps)
|
Select every other element of a vector
20358 Solvers
Project Euler: Problem 5, Smallest multiple
397 Solvers
Back to basics 13 - Input variables
233 Solvers
117 Solvers
07 - Common functions and indexing 1
338 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!