Solution 1854598

Submitted on 20 Jun 2019
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   Fail
x = 1; y_correct = 3; assert(isequal(times_3(x),y_correct))

Index exceeds the number of array elements (1). Error in times_3 (line 2) y = x(3) Error in Test1 (line 3) assert(isequal(times_3(x),y_correct))