MATLAB 帮助中心
Laurent polynomial exponentiation
Since R2021b
Q = mpower(P,pow)
Q = P^pow
Q = mpower(P,pow) raises the Laurent polynomial P to the power pow.
Q
P
pow
example
Q = P^pow is equivalent to Q = mpower(p,pow).
Q = mpower(p,pow)
p
collapse all
Create two Laurent polynomials:
a(z)=z-1
b(z)=-2z3+6z2-6z+2
a = laurentPolynomial(Coefficients=[1 -1],MaxOrder=1); b = laurentPolynomial(Coefficients=[-2 6 -6 2],MaxOrder=3);
Raise a(z) to the third power. Confirm the result is not equal to b(z).
a3 = a^3; a3 ~= b
ans = logical 1
Confirm a(z) raised to the third power is equal to -b(z)/2.
b2 = rescale(b,-1/2); a3 == b2
laurentPolynomial
Laurent polynomial, specified as a laurentPolynomial object.
Power, specified as an integer. If pow is negative, P must be a monomial.
Example: Q = mpower(lp,3) raises the Laurent polynomial lp to the third power.
Q = mpower(lp,3)
lp
Data Types: double
double
Laurent polynomial raised to a nonzero power, returned as a laurentPolynomial object.
expand all
Introduced in R2021b
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处