whats wrong with this problem, it runs perfectly on my matlab.
Developers guys, you should fix this problem
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
theta = 2*pi;
x_correct = [1; 1];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-5)
|
2 | Fail |
theta = pi;
x_correct = [-1; -1];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-5)
|
3 | Fail |
theta = -0.5;
x_correct = [1.357;0.3982];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-4)
|
Return the largest number that is adjacent to a zero
3749 Solvers
2183 Solvers
326 Solvers
276 Solvers
2622 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!