Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2;
y_correct = 4;
assert(isequal(assign(x),y_correct))
|
2 | Pass |
x = [2 3 4];
y_correct = [4 9 16];
assert(isequal(assign(x),y_correct))
|
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
Return unique values without sorting
588 Solvers
450 Solvers
Matlab Basics - y as a function of x
339 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!