Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4;5 6 7 8];
A_correct = [1 4 9 16;25 36 49 64];
assert(isequal(your_fcn_name(x),A_correct))
A =
1 4 9 16
25 36 49 64
|
Set the array elements whose value is 13 to 0
935 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
546 Solvers
314 Solvers
315 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!