ctranspose
R2026bLaurent matrix transpose
Syntax
Description
Examples
Create two Laurent polynomials:
lpA = laurentPolynomial(Coefficients=[2 4 6]); lpB = laurentPolynomial(Coefficients=[1 3 5],MaxOrder=2);
Create the Laurent matrix 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
Input Arguments
Laurent matrix, specified as a laurentMatrix object.
Output Arguments
Transpose of a Laurent matrix, returned as a laurentMatrix object.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
GPU Code Generation
Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.
The ctranspose
function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
Version History
Introduced in R2021bYou can use ctranspose in thread-based
environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
MATLAB Command
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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)