This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
A=[1 2 3; 4 5 6; 7 8 9];
n = 10;
B_correct =[1 2 10; 4 10 6; 10 8 9];
assert(isequal(sec_diag_replacement(A,n),B_correct))
|
2 | Pass |
%%
A=1;
n = 10;
B_correct =10;
assert(isequal(sec_diag_replacement(A,n),B_correct))
|
Back to basics 11 - Max Integer
678 Solvers
584 Solvers
380 Solvers
3063 Solvers
Convert given decimal number to binary number.
636 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!