Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [721;702;703;698;692;705;714;729;735;750];
y_correct = 4.02;
assert(isequal(simple_return(x),y_correct))
|
2 | Pass |
%%
x = [145;147;147;146;144;145;144;145;144;145;145;145;144;140;143;144;148;143;145;145;144;142;142;145;144;145;147;146;146;147;147;144];
y_correct = -0.69;
assert(isequal(simple_return(x),y_correct))
|
8416 Solvers
351 Solvers
74 Solvers
Output any real number that is neither positive nor negative
252 Solvers
Who is the smartest MATLAB programmer?
469 Solvers