Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = 40;
y_correct = [34.86 19.61];
[y1 y2]=TV(x)
assert(y1-y_correct(1)<=0.01 && y2-y_correct(2)<=0.01)
y1 =
19.6100
y2 =
34.8600
|
2 | Fail |
x=49
y_correct = [42.71 24.02];
[y1 y2]=TV(x)
assert(y1-y_correct(1)<=0.01 && y2-y_correct(2)<=0.01)
x =
49
y1 =
24.0200
y2 =
42.7000
|
Remove any row in which a NaN appears
5982 Solvers
How to find the position of an element in a vector without using the find function
2323 Solvers
Element by element multiplication of two vectors
202 Solvers
159 Solvers
80 Solvers