Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
r1 = 4;
r2 = 5;
y_correct = 28.27433;
assert(abs(RingArea(r1,r2)-y_correct)<1e-5)
|
2 | Pass |
r1 = 7.5;
r2 = 8.25;
y_correct = 37.11006;
assert(abs(RingArea(r1,r2)-y_correct)<1e-5)
|
Remove any row in which a NaN appears
5979 Solvers
Replace NaNs with the number that appears to its left in the row.
1710 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
381 Solvers
Basics: 'Find the eigenvalues of given matrix
257 Solvers
Matlab Basics - Convert a row vector to a column vector
300 Solvers