Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
F = 0;
y_correct = -17.77777777;
assert(abs(far2cel(F)-y_correct)<1e-6);
y =
-17.7778
|
2 | Pass |
F = 212;
y_correct = 100;
assert(abs(far2cel(F)-y_correct)<1e-6);
y =
100
|
3 | Pass |
F = -40;
y_correct = -40;
assert(abs(far2cel(F)-y_correct)<1e-6);
y =
-40
|
4 | Pass |
F = 98.5;
y_correct = 36.94444444444;
assert(abs(far2cel(F)-y_correct)<1e-6);
y =
36.9444
|
Who knows the last digit of pi?
557 Solvers
483 Solvers
Switch matrix to a column vector
260 Solvers
492 Solvers
353 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!