Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
L=10; R=3;
p = 0.2827;
assert( abs(probability(L,R)-p) < 1e-04)
|
2 | Pass |
L=1; R=.5;
p = 0.7854;
assert( abs(probability(L,R)-p) < 1e-04)
|
3 | Pass |
L=2; R=.5;
p = 0.1963;
assert( abs(probability(L,R)-p) < 1e-04)
|
4 | Pass |
L=6; R=.2;
p = 0.0035;
assert( abs(probability(L,R)-p) < 1e-04)
|
Program an exclusive OR operation with logical operators
639 Solvers
192 Solvers
420 Solvers
Replace multiples of 5 with NaN
358 Solvers
548 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!