Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
t=[7 30 15];
t_correct = [43.625 91.5];
assert(max(abs(clockHandAngDifferences(t)-t_correct))<1e-10);
|
2 | Pass |
%%
t=[11 59 59];
t_correct = [0.0916666666666401 5.89999999999998];
assert(max(abs(clockHandAngDifferences(t)-t_correct))<1e-10);
|
3 | Pass |
%%
t=[3 45 50];
t_correct = [-162.083333333333 -25];
assert(max(abs(clockHandAngDifferences(t)-t_correct))<1e-10);
|
Back to basics 22 - Rotate a matrix
763 Solvers
Arrange vector in ascending order
624 Solvers
Duplicate each element of a vector.
518 Solvers
248 Solvers
2099 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!