groebner

버전 1.5.0.0 (9.93 KB) 작성자: Ben Petschel
manipulate and solve systems of multivariate polynomial equations by computing the groebner basis
다운로드 수: 4K
업데이트 날짜: 2010/11/2

라이선스 보기

Example: simplify the system of equations
{x^2+2xy^2=0, xy+2y^3=1}

>> groebner({'x^2+2*x*y^2','x*y+2*y^3-1'},'lex',{'x','y'})

returns {'y^3-0.5','x'}

Solve equations:

>> polynsolve({'x^2+2*x*y^2','x*y+2*y^3-1'},'',{'x','y'})

returns [0, -0.3969 + 0.6874i; 0, -0.3969 - 0.6874i; 0, 0.7937]

>> polynsolve({'x^2-x','x*y-1'},'',{'x','y'})

returns [1, 1]

>> polynsolve({'x^2-x','x*y'},'',{'x','y'})

returns [0, NaN; 1, 0]

(infinite possibilities represented by NaN)

NOTE: calculation of Groebner bases in floating-point arithmetic can be numerically unstable. See the help text for more details.

인용 양식

Ben Petschel (2024). groebner (https://www.mathworks.com/matlabcentral/fileexchange/24478-groebner), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.5.0.0

fixed a few bugs that were introduced with the last update

1.4.0.0

changed polynomial representation from N-d array to rectangular array for more efficient memory usage when there are many variables

1.3.0.0

fixed bug in handling polynomials with >=3 variables; allowed spaces in polynomial strings

1.2.0.0

added polynsolve.m for explicitly solving the equations; removed ord='revlex' as it is not a well-ordering.

1.1.0.0

tweaked reduction algorithm; added grlex and revlex options for monomial ordering

1.0.0.0