MATLAB 帮助中心
Laurent matrix transpose
Since R2021b
B = ctranspose(A)
B = ctranspose(A) returns the transpose of the Laurent matrix A.
B
A
example
collapse all
Create two Laurent polynomials:
a(z)=2+4z-1+6z-2
b(z)=z2+3z+5
lpA = laurentPolynomial(Coefficients=[2 4 6]); lpB = laurentPolynomial(Coefficients=[1 3 5],MaxOrder=2);
Create the Laurent matrix lmat = [-1a(z)b(z)7].
lmat
lmat = laurentMatrix(Elements={-1 lpA; lpB 7});
Display the elements of the transpose of lmat.
lmatTrans = ctranspose(lmat); for j=1:2 for k=1:2 elt = lmatTrans.Elements{j,k}; fprintf("===================\nlmatTrans(%d,%d):\n",j,k); elt end end
=================== lmatTrans(1,1):
elt = laurentPolynomial with properties: Coefficients: -1 MaxOrder: 0
=================== lmatTrans(1,2):
elt = laurentPolynomial with properties: Coefficients: [1 3 5] MaxOrder: 2
=================== lmatTrans(2,1):
elt = laurentPolynomial with properties: Coefficients: [2 4 6] MaxOrder: 0
=================== lmatTrans(2,2):
elt = laurentPolynomial with properties: Coefficients: 7 MaxOrder: 0
laurentMatrix
Laurent matrix, specified as a laurentMatrix object.
Transpose of a Laurent matrix, returned as a laurentMatrix object.
expand all
Introduced in R2021b
laurentPolynomial
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处