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

2 次查看(过去 30 天)
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..

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2014-4-20
编辑:Azzi Abdelmalek 2014-4-20
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')

类别

Help CenterFile Exchange 中查找有关 Polynomials 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by