Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [45,45]
y_correct = 0
assert(isequal(your_fcn_name(x),y_correct))
x =
45 45
y_correct =
0
|
2 | Pass |
x=[27,327]
y_correct=1/2
assert(isequal(your_fcn_name(x),y_correct))
x =
27 327
y_correct =
0.5000
|
3 | Pass |
x=[546,273]
y_correct=1/3
assert(isequal(your_fcn_name(x),y_correct))
x =
546 273
y_correct =
0.3333
|
Number of 1s in a binary string
2818 Solvers
Convert from Base 10 to base 5
203 Solvers
Fahrenheit to Celsius converter
358 Solvers
484 Solvers
272 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!