Archive for the ‘Mathematica’ Category

November 11, 2013 0

plot functions in mathematica

By in Mathematica, Uncategorized

contour plots can be used in mathematica to plot equations such as ellipsoids like: 1/10^2*x^2 + 1/6^2*y^2 + 1/15^2*z^2 == 1 a command like: ContourPlot3D[ 1/10^2*x^2 + 1/6^2*y^2 + 1/15^2*z^2 == 1, {x, -11, 11}, {y, -7, 7}, {z, -16, 16}] creates the ellipsoid

October 28, 2011 0

Mathematica insert rows/coloums into existing matrix

By in Mathematica

Insert a list as a row in an existing matrix by using Insert

October 28, 2011 0

Mathematica list operations

By in Mathematica

Usefull functions for manipulating a list in mathematica To get distinct elements in a list use Union or DeleteDublicates To construct a new matrix by grouping rows according to identical values in some of the coloums use GatherBy To make combinations of elements in a list use Subsets