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 CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by