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 );
ans =
[]
|
2 | Pass |
%%
y = your_fcn_name(200,100);
assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 1 && std(diff(y)) == 0 );
ans =
[]
|
3 | Pass |
%%
y = your_fcn_name(2,100);
assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 100 && std(diff(y)) == 0 );
ans =
[]
|
2401 Solvers
Find the peak 3n+1 sequence value
1107 Solvers
Remove the polynomials that have positive real elements of their roots.
629 Solvers
926 Solvers
314 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!