polynomial definition

조회 수: 6 (최근 30일)
klaus stilla
klaus stilla 2011년 3월 21일
how to input polynomial in the form...
(x-a)^n+(x-a)^(n-1).....+(x-a)+c=0
  댓글 수: 1
John D'Errico
John D'Errico 2011년 3월 21일
"Input" a polynomial? What will you do with it? Knowing your goal here is surely the important thing.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2011년 3월 21일
syms x a c MyPoly = (x-a)^n + (x-a)^(n-1)... +(x-a)+c;
You could follow that with
solve(MyPoly,x)

카테고리

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