I really don't see the point of that kind of problems where you can't use Matlab built-in functions.
which functions?
1741 Solvers
Remove the polynomials that have positive real elements of their roots.
635 Solvers
234 Solvers
Find out missing number from a vector of 9 elements
246 Solvers
Flip the vector from right to left
2812 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!