Too many input arguments.

6 vues (au cours des 30 derniers jours)
Michel Lopes Villaluz
Michel Lopes Villaluz le 25 Mai 2020
I try to solve an equation with the euler method
Why do i have too many arguments in my input? It shouldn't put that values in the parenthesis?

Réponses (1)

Alejandro Peñuelas
Alejandro Peñuelas le 25 Mai 2020
Poly just accepts 1 parameter either a vector or a matrix, the 'x' in the poly function is the problem.
  1 commentaire
Alejandro Peñuelas
Alejandro Peñuelas le 25 Mai 2020
Try
poly([-1 1 -2 2]);

Connectez-vous pour commenter.

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by