Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = [45 15 200 300];
arraygcdok=5;
assert(isequal(arraygcd(a),arraygcdok))
|
2 | Pass |
a = [140 7 14 35 42];
arraygcdok=7;
assert(isequal(arraygcd(a),arraygcdok))
|
3 | Pass |
a = [100 90 70 2000];
arraygcdok=10;
assert(isequal(arraygcd(a),arraygcdok))
|
740 Solvers
Find common elements in matrix rows
1232 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
136 Solvers
369 Solvers
276 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!