MATLAB 帮助中心
Laurent polynomials inequality test
Since R2021b
tf = ne(A,B)
tf = (A ~= B)
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
example
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).
expand all
Introduced in R2021b
eq
laurentMatrix
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处