Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
y = your_fcn_name(100,100);
assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 2 && std(diff(y)) == 0 );
|
2 | Pass |
%%
y = your_fcn_name(200,100);
assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 1 && std(diff(y)) == 0 );
|
3 | Pass |
%%
y = your_fcn_name(2,100);
assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 100 && std(diff(y)) == 0 );
|
Return a list sorted by number of occurrences
1504 Solvers
Find the alphabetic word product
2321 Solvers
267 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
267 Solvers
Check that number is whole number
1070 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!