Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = 10;
assert(length(randpro(x))==10)
assert(std(randpro(x))>9)
assert(std(randpro(x))<11)
y =
1 11 21 31 41 51 61 71 81 91
y =
1 11 21 31 41 51 61 71 81 91
y =
1 11 21 31 41 51 61 71 81 91
|
2 | Fail |
x = 17;
assert(length(randpro(x))==17)
assert(std(randpro(x))>16)
assert(std(randpro(x))<18)
y =
1 18 35 52 69 86 103 120 137 154 171 188 205 222 239 256 273
y =
1 18 35 52 69 86 103 120 137 154 171 188 205 222 239 256 273
y =
1 18 35 52 69 86 103 120 137 154 171 188 205 222 239 256 273
|
516 Solvers
Find nearest prime number less than input number
269 Solvers
531 Solvers
Determine the number of odd integers in a vector
435 Solvers
291 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!