Please help!!!!not sure where i went wrong
You just need to type x=[1,2,3,4...10] or x=1:10
Just edit that line in the code. Not the whole thing
You should name the function exatly 'oneToTen',and apparently,your x is from 1 to 9,not 1 to 10.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
x_correct = [1 2 3 4 5 6 7 8 9 10];
assert(isequal(oneToTen,x_correct))
|
It dseon't mettar waht oedrr the lrettes in a wrod are.
653 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
Who is the smartest MATLAB programmer?
561 Solvers
283 Solvers
257 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!