Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
t1=1; r=1; n=7;
y_correct = 7;
assert(isequal(your_fcn_name(t1,r,n),y_correct))
y =
7
|
2 | Pass |
t1=10; r=10; n=5;
y_correct = 111110;
assert(isequal(your_fcn_name(t1,r,n),y_correct))
y =
111110
|
3 | Pass |
t1=7; r=3; n=5;
y_correct = 847;
assert(isequal(your_fcn_name(t1,r,n),y_correct))
y =
847
|
15294 Solvers
Find the sum of the elements in the "second" diagonal
994 Solvers
Vectorize the digits of an Integer
269 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
Returning a "greater than" vector
188 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!