Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 1;
y_correct = 9;
assert(isequal(y_fun_1(x),y_correct))
ans =
9
|
2 | Pass |
%%
x = 3;
y_correct = 67;
assert(isequal(y_fun_1(x),y_correct))
ans =
67
|
3 | Pass |
%%
x = 3.2;
y_correct = 75.440000000000010;
assert(isequal(y_fun_1(x),y_correct))
ans =
75.4400
|
Select every other element of a vector
20340 Solvers
Find the sum of the elements in the "second" diagonal
994 Solvers
Solve the set of simultaneous linear equations
273 Solvers
07 - Common functions and indexing 5
314 Solvers
241 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!