Cody

Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]

Solution 1980201

Submitted on 17 Oct 2019 by Fabian Wiedmer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x_correct = [1 2 3 4 5 6 7 8 9 10]; assert(isequal(oneToTen,x_correct))

c = 1 2 x = 1 2 c = 1 2 3 x = 1 2 3 c = 1 2 3 4 x = 1 2 3 4 c = 1 2 3 4 5 x = 1 2 3 4 5 c = 1 2 3 4 5 6 x = 1 2 3 4 5 6 c = 1 2 3 4 5 6 7 x = 1 2 3 4 5 6 7 c = 1 2 3 4 5 6 7 8 x = 1 2 3 4 5 6 7 8 c = 1 2 3 4 5 6 7 8 9 x = 1 2 3 4 5 6 7 8 9 c = 1 2 3 4 5 6 7 8 9 10 x = 1 2 3 4 5 6 7 8 9 10

Suggested Problems

More from this Author95