hom2cart
Convert homogeneous coordinates to Cartesian coordinates
Syntax
Description
Examples
h = [0.2785 0.9575 0.1576 0.5; 0.5469 0.9649 0.9706 0.5]; c = hom2cart(h)
c = 2×3
0.5570 1.9150 0.3152
1.0938 1.9298 1.9412
Input Arguments
Homogeneous points, returned as an n-by-k matrix, containing n points. k must be greater than or equal to 2.
Example: [0.2785 0.9575 0.1576 0.5; 0.5469
0.9649 0.9706 0.5]
Output Arguments
Cartesian coordinates, specified as an
n-by-(k-1)
matrix, containing n points. Each
row of cart
represents a point
in k-dimensional space.
k must be greater than or equal
to 1.
Example: [0.8147 0.1270 0.6324; 0.9058 0.9134
0.0975]
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2015aThe hom
argument now accepts 2-D homogeneous
points and hom2cart
outputs 2-D Cartesian
coordinates.
See Also
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)