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 |
M = [1 2 3; 4 5 6; 7 8 9+2i];
for k=1:size(M,2)
y_correct(k)=norm(M(:,k));
end
assert(isequal(your_fcn_name(M),y_correct))
|
698 Solvers
Make a random, non-repeating vector.
2803 Solvers
299 Solvers
404 Solvers
Rounding off numbers to n decimals
1050 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!