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..
0 个评论
回答(1 个)
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')
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!