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 |
A=[5 8 2 4;1 11 1 5] ;
B_correct = [2 8 5 4;1 5 1 11];
assert(isequal(SrtPrimesInRows(A),B_correct))
|
2 | Pass |
A=[2 7 5; 1 11 2;2 2 2];
B_correct=[2 5 7;1 2 11;2 2 2];
assert(isequal(SrtPrimesInRows(A),B_correct))
|
3 | Pass |
A=[111 12 134;333 654 100000;112227 38 1];
B_correct=A;
assert(isequal(SrtPrimesInRows(A),B_correct))
|
Project Euler: Problem 9, Pythagorean numbers
282 Solvers
216 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
228 Solvers
372 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!