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 = [450 440 430 420 410 400 390 380 370 360 350 340 330 320 310 300 290 280 270 260 250 240 230 220 210 200];
assert(isequal(your_fcn_name(x),y_correct))
ans =
450 440 430 420 410 400 390 380 370 360 350 340 330 320 310 300 290 280 270 260 250 240 230 220 210 200
|
Check if number exists in vector
2318 Solvers
272 Solvers
07 - Common functions and indexing 6
282 Solvers
341 Solvers
364 Solvers