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 |
%%
vector = [70 73 86 69];
y_correct = 'FIVE';
assert(isequal(vector,y_correct))
|
2 | Pass |
%%
vector = [109 97 116 104 101 109 97 116 105 99 115];
y_correct = 'mathematics';
assert(isequal(vector,y_correct))
|
Check if number exists in vector
4466 Solvers
246 Solvers
373 Solvers
Finding an element in a vector
136 Solvers
209 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!