How we can take polynomial of n variable as input.?

2 visualizaciones (últimos 30 días)
SHWETABH
SHWETABH el 20 de Abr. de 2014
Comentada: Azzi Abdelmalek el 20 de Abr. de 2014
How we can take polynomial of n variable as input.?I want to take input from command window by user.The polynomial should be of n-Dimensional and n-variable ,n-degree. Thanx in Advance..

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 20 de Abr. de 2014
Editada: Azzi Abdelmalek el 20 de Abr. de 2014
The polynomial is represented by its coefficients, just ask for a vector of polynomial coefficients
c=input('input the vector c representing the polynomial coefficients in descending order')
  2 comentarios
SHWETABH
SHWETABH el 20 de Abr. de 2014
Editada: SHWETABH el 20 de Abr. de 2014
But how to take input if no of variable are more like x,y,z....
Thanx..
Azzi Abdelmalek
Azzi Abdelmalek el 20 de Abr. de 2014
Post an example

Iniciar sesión para comentar.

Categorías

Más información sobre Polynomials en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by