Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
n=2;
r=0.25;
y_correct = 1.3719;
assert(abs(bi_coff(n,r)-y_correct)<0.0001)
|
2 | Fail |
n=2;
r=2;
y_correct = 1;
assert(abs(bi_coff(n,r)-y_correct)<0.0001)
|
3 | Fail |
n=5;
r=3.5;
y_correct = 7.7607;
assert(abs(bi_coff(n,r)-y_correct)<0.0001)
|
4 | Fail |
n=5;
r=1.1;
y_correct = 5.5483;
assert(abs(bi_coff(n,r)-y_correct)<0.0001)
|
Given a window, how many subsets of a vector sum positive
743 Solvers
284 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
Returning a "greater than" vector
188 Solvers
Matlab Basics - Pick out parts of a vector
198 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!