This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
a = 1;
b = 2;
c = 1;
y_correct = -1;
y_correct = -1;
assert(isequal(your_fcn_name(x),y_correct))
[Warning: Function horzcat has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
|
2 | Fail |
%%
a = 9;
b = 42;
c = 5;
y_correct = -0.22005;
y_correct = -8.17995;
assert(isequal(roots(x),y_correct))
|
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
315 Solvers
2810 Solvers
2455 Solvers
326 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!