Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
theta = 2*pi;
x_correct = [1; 1];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-5)
|
2 | Pass |
theta = pi;
x_correct = [-1; -1];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-5)
|
3 | Pass |
theta = -0.5;
x_correct = [1.357;0.3982];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-4)
|
1598 Solvers
Who knows the last digit of pi?
557 Solvers
Determine the number of odd integers in a vector
435 Solvers
Simple equation: Annual salary
3779 Solvers
359 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!