This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n1 = 3;
n2 = 5;
tf_correct = 0;
assert(isequal(prime_to_each_other(n1, n2),tf_correct))
tf =
0
|
2 | Pass |
%%
n1 = 27;
n2 = 123;
tf_correct = 1;
assert(isequal(prime_to_each_other(n1, n2),tf_correct))
tf =
1
|
3 | Pass |
%%
n1 = 36;
n2 = 49;
tf_correct = 0;
assert(isequal(prime_to_each_other(n1, n2),tf_correct))
tf =
0
|
Replace multiples of 5 with NaN
358 Solvers
376 Solvers
Matlab Basics - Absolute Value
360 Solvers
Matlab Basics - y as a function of x
339 Solvers
1141 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!