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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- 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)