13.07.2015 Views

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

44 <strong>Notebooks</strong> and <strong>Documents</strong>Using MatrixForm tells <strong>Mathematica</strong> to display the result of the Transpose as a matrix.In[3]:= MatrixFormBTransposeBK a b c1 2 3 OFFOut[3]//MatrixForm=a 1b 2c 3Ctrl+,Ctrl+EnterTabCtrl+Spaceadd a columnadd a rowgo to the next Ñ or É elementmove out of the table or matrixEntering tables and matrices.Note that you can use Ctrl+, and Ctrl+Enter to start building up an array, and particularly forsmall arrays this is often more convenient than using the New menu item in the Table/Matrixsubmenu. The Table/Matrix menu items typically allow you to make basic adjustments, suchas drawing lines between rows or columns.Entering a Piecewise expression is a special case of entering a table.Enter the \@PiecewiseD character and press Ctrl+, to get a template of placeholders for twocases.In[4]:= f@x_D := Ñ ÑÑ ÑFill in the placeholders to complete the piecewise expression.In[5]:= f@x_D := 0 x < 01 x = 0To add additional cases, use Ctrl+Enter.In[6]:= f@x_D :=0 x < 01 x = 0Ñ ÑYou can make an element in a table span over multiple rows or columns by selecting the entireblock that you want the element to span and using the Insert Table/Matrix Make Spanningmenu command. To split a spanning element into individual components, use Insert Table/Matrix Split Spanning.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!