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 = 1;
assert(isequal(your_fcn_name(x),y_correct))
x = 15;
y_correct = 1240;
assert(isequal(your_fcn_name(x),y_correct))
x = 50;
y_correct = 42925;
assert(isequal(your_fcn_name(x),y_correct))
|
203 Solvers
The sum of the numbers in the vector
341 Solvers
Area of an equilateral triangle
1703 Solvers
Output a vector which is table of 9
102 Solvers
Matrix of almost all zeros, except for main diagonal
122 Solvers