This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x=1;
y_correct = 2;
assert(isequal(length_of_vector(x),y_correct))
|
2 | Pass |
x=[1 2 3];
y_correct = 6;
assert(isequal(length_of_vector(x),y_correct))
|
Number of 1s in the Binary Representation of a Number
319 Solvers
The Hitchhiker's Guide to MATLAB
2696 Solvers
Create a vector whose elements depend on the previous element
292 Solvers
07 - Common functions and indexing 4
259 Solvers
find the surface area of a cube
215 Solvers