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

2 ビュー (過去 30 日間)
SHWETABH
SHWETABH 2014 年 4 月 20 日
コメント済み: Azzi Abdelmalek 2014 年 4 月 20 日
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')
  2 件のコメント
SHWETABH
SHWETABH 2014 年 4 月 20 日
編集済み: SHWETABH 2014 年 4 月 20 日
But how to take input if no of variable are more like x,y,z....
Thanx..
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 20 日
Post an example

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by