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)
b =
1
1
|
2 | Pass |
theta = pi;
x_correct = [-1; -1];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-5)
b =
1
1
|
3 | Pass |
theta = -0.5;
x_correct = [1.357;0.3982];
assert(sum(abs((solve_lin(theta)-x_correct)))< 1e-4)
b =
1
1
|
Remove any row in which a NaN appears
6827 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
512 Solvers
669 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!