SetCoordinates

As of version 9.0, vector analysis functionality is built into Mathematica

SetCoordinates[coordsys]
sets the default coordinate system to be coordsys with default variables.


sets the default coordinate system to be coordsys with variables , , and .

DetailsDetails

  • To use , you first need to load the Vector Analysis Package using Needs["VectorAnalysis`"].
  • Certain coordinate systems have parameters associated with them, and these parameters can be set by specifying the full description of the coordinate system.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

Use to change the default coordinate system:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Restore the default settings:

In[5]:=
Click for copyable input
Out[5]=
New to Mathematica? Find your learning path »
Have a question? Ask support »