Hello, Pablo López. I hope you won't mind me writing in English. Could you please check the results for case three in your Test Suite? In my Solution 1523771 I am getting different values for the x-intercepts. (I think that's what is sought, but sorry if my rough translation was in error.) Also, I cannot see any instruction as to the order in which to return the points. For example, in test case one, why is [-5 -1 -10] correct, but [-1 -5 -10] would not be accepted? —DIV
The roots must be sorted, and the value at y must come at last. Please, fix the 3rd case. The roots are with their signs misplaced (use the function roots to test it).
I believe that the test suite is now functioning properly, presuming sorted roots.
The Goldbach Conjecture
Replicate elements in vectors
We love vectorized solutions. Problem 1 : remove the row average.
Simple return on investment
¿Es una parábola?
¿Es una función exponencial?
¡Busca el extremo!
Calcular la razón de proporcionalidad
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office