Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 10;
assert(length(randpro(x))==10)
assert(std(randpro(x))>9)
assert(std(randpro(x))<11)
ans =
3.5000 7.0000 10.5000 14.0000 17.5000 21.0000 24.5000 28.0000 31.5000 35.0000
ans =
3.5000 7.0000 10.5000 14.0000 17.5000 21.0000 24.5000 28.0000 31.5000 35.0000
ans =
3.5000 7.0000 10.5000 14.0000 17.5000 21.0000 24.5000 28.0000 31.5000 35.0000
|
2 | Pass |
x = 17;
assert(length(randpro(x))==17)
assert(std(randpro(x))>16)
assert(std(randpro(x))<18)
ans =
3.5000 7.0000 10.5000 14.0000 17.5000 21.0000 24.5000 28.0000 31.5000 35.0000 38.5000 42.0000 45.5000 49.0000 52.5000 56.0000 59.5000
ans =
3.5000 7.0000 10.5000 14.0000 17.5000 21.0000 24.5000 28.0000 31.5000 35.0000 38.5000 42.0000 45.5000 49.0000 52.5000 56.0000 59.5000
ans =
3.5000 7.0000 10.5000 14.0000 17.5000 21.0000 24.5000 28.0000 31.5000 35.0000 38.5000 42.0000 45.5000 49.0000 52.5000 56.0000 59.5000
|
1962 Solvers
484 Solvers
Back to basics - mean of corner elements of a matrix
297 Solvers
254 Solvers
Compute LOG(1+X) in natural log
204 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!