Help CenterHelp Center
Laurent polynomials inequality test
Since R2021b
tf = ne(A,B)
tf = (A ~= B)
example
tf = ne(A,B) compares Laurent polynomials A and B and returns 1 (true) if the two are unequal and 0 (false) otherwise.
tf
A
B
1
true
0
false
tf = (A ~= B) is equivalent to tf = ne(A,B).
collapse all
Create two Laurent polynomials:
a(z)=2z3-3z2+4z-5
b(z)=4z3-6z2+8z
a = laurentPolynomial(Coefficients=[2 -3 4 -5],MaxOrder=3); b = laurentPolynomial(Coefficients=[4 -6 8],MaxOrder=3);
Confirm a(z) and b(z) are not equal.
a ~= b
ans = logical 1
Confirm 2a(z)+10 and b(z) are equal.
c = rescale(a,2)+10; eq(c,b)
laurentPolynomial
Laurent polynomial, specified as a laurentPolynomial object.
Inequality test result, returned as a numeric or logical 1 (true) or 0 (false).
Introduced in R2021b
eq
laurentMatrix
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office