Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 1;
y_correct =[7 9 11 13 15];
assert(isequal(your_fcn_name(x),y_correct))
ans =
7 9 11 13 15
|
How to find the position of an element in a vector without using the find function
2477 Solvers
Get the length of a given vector
3560 Solvers
516 Solvers
307 Solvers
Back to Basics - Find no. of elements in a matrix?
216 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!