Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Physics[Vectors][ChangeBasis] - change the projection basis and optionally also the coordinates used in the components of the vector expression
Calling Sequence
ChangeBasis(A, newbasis)
ChangeBasis(A, newbasis, alsocomponents)
Parameters
A
-
any algebraic expression
newbasis
one of the bases identifiers {1, 2, 3}, or one of the bases keywords {cartesian, cylindrical, spherical}
alsocomponents
optional, to indicate that the components of the vector expression too should be expressed in terms of the natural coordinates of newbasis
Description
ChangeBasis changes the projection basis (unit vectors) of a given vector function to the projection basis indicated newbasis. Optionally, when the argument alsocomponents is given, the components of the vector are also rewritten in terms of the natural coordinates related to newbasis. For the conventions used in the Physics[Vectors] subpackage to represent vector functions, see conventions.
The %ChangeBasis is the inert form of ChangeBasis, that is: it represents the same mathematical operation while holding the operation unperformed. To activate the operation use value.
If is not a vector function, then an error message is returned.
If is a non-projected vector, then ChangeBasis returns unevaluated.
Otherwise, the projection basis is changed according to:
From cartesian basis to cylindrical basis:
_i = (cos(phi) * _rho - sin(phi) * _phi);
_j = (sin(phi) *_rho + cos(phi) * _phi);
From cartesian basis to spherical basis:
_i = (sin(theta)*cos(phi)*_r + cos(theta)*cos(phi)*_theta -sin(phi)*_phi);
_j = (sin(theta)*sin(phi)*_r + cos(theta)*sin(phi)*_theta + cos(phi)*_phi);
_k = (cos(theta)*_r - sin(theta)*_theta);
From cylindrical basis to spherical basis:
_rho = (sin(theta)*_r + cos(theta)*_theta);
When changing the basis, some extra factors depending on the coordinates are introduced. These factors are always expressed in the "upper" coordinate's system; i.e., the transformation from cartesian to cylindrical (from 1 to 2) will introduce factors depending on , and so on, as shown in the examples below.
Note that, by default, only the projection basis is changed, not the coefficients of the unit vectors (components). To additionally change the components of the vector, re-expressing them in terms of the natural coordinates of the indicated newbasis, use the optional argument alsocomponents.
Examples
A cartesian projected vector
Vector R projected onto the cartesian basis.
Vector R projected onto the cylindrical basis.
Vector R projected onto the spherical basis: note also that automatic partial match of keywords
See Also
Physics, Physics conventions, Physics examples, Physics/Vectors/Identify, Physics/Vectors/operations, Physics[Vectors]
Download Help Document