Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.32 9.95 10.03];
y_correct = [2.340 3.120 4.143 5.323 6.536 7.610 8.653 9.433];
assert((mean(mysmooth(x)-y_correct)<0.001))
ans =
[]
|
2 | Pass |
x=[1 1 1]
y_correct=1
assert((mean(mysmooth(x)-y_correct)<0.001))
x =
1 1 1
y_correct =
1
ans =
[]
|
Remove any row in which a NaN appears
5977 Solvers
100 Solvers
133 Solvers
254 Solvers
Calculate square and cube of number
168 Solvers