This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 8];
n=0;
y_correct = 8;
assert(isequal(your_fcn_name(x, n),y_correct))
ans =
8
|
Back to basics 9 - Indexed References
348 Solvers
Compute a dot product of two vectors x and y
645 Solvers
1494 Solvers
Change the first and last diagonal element of the identity matrix to zero
87 Solvers
281 Solvers