Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = '3*x';
lower=0; upper=3;
y_correct = 0;
assert(isequal(myintegrate(x,lower,upper),y_correct))
ans =
[]
|
2 | Pass |
x = '6*x';
lower=2; upper=6;
y_correct = 0;
assert(isequal(myintegrate(x,lower,upper),y_correct))
ans =
[]
|
3 | Pass |
x = '2*x';
lower=0; upper=2;
y_correct = 0;
assert(isequal(myintegrate(x,lower,upper),y_correct))
ans =
[]
|
Select every other element of a vector
20339 Solvers
Get the length of a given vector
3560 Solvers
Detect a number and replace with two NaN's
178 Solvers
343 Solvers
315 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!