Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [2 -1 -3];
y_correct = [1.5 -1]';
assert(isequal(your_fcn_name(x),y_correct))
|
Determine whether a vector is monotonically increasing
11914 Solvers
9866 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
Is this triangle right-angled?
2873 Solvers
382 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!