02.03.2016 Views

MATLAB by rudra pratap

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Contents<br />

ix<br />

4.3.5 Interactive input<br />

4.3.6 Recursion . . . .<br />

4.3.7 Input/output . .<br />

4.4 Advanced Data Objects<br />

4.4.1 Multidimensional matrices .<br />

4.4.2 St ructure s .<br />

4.4.3 Cells . . . .<br />

4.5 Publishing Reports<br />

117<br />

119<br />

119<br />

121<br />

121<br />

122<br />

125<br />

129<br />

5 Applications 135<br />

5.1 Linear Algebra . . . . . . . . .<br />

135<br />

5.1.1 Solving a linear system<br />

135<br />

5.1.2 Gaus sian elimination . .<br />

136<br />

5.1.3<br />

137<br />

5.1.4 Matrix factorizations 138<br />

5.1.5 Advanced topics . . . . . . . . . . 139<br />

5.2 Curve Fitting and Interpolation . . . . . . 139<br />

5.2.1 Polynomial curve fitting on the fly<br />

5.2.2<br />

141<br />

5.3<br />

5.4<br />

5.5<br />

5.6<br />

Finding eigenvalues and eigenvectors<br />

Do it yourself: Curve fitting with polynomial functions .<br />

5.2.3<br />

5.2.4<br />

Least squares curve fitting .<br />

General nonlinear fits<br />

5.2.5 Interpolation . . . . . . . .<br />

Data Analysis and Stat ist ics . . . .<br />

Numerical Integration (Quadrature)<br />

5.4.1 Double integration . . . . . .<br />

Ordinary Di fferential Equations . . .<br />

5.5.1 Example 1: A first-order linear ODE .<br />

5.5.2 Example 2: A second-order nonlinear ODE<br />

5.5.3 ode23 versus ode45<br />

5.5.4 Specifying tolerance<br />

5.5.5 The ODE suite . . .<br />

5.5.6 Event location . . .<br />

Nonlinear Algebraic Equations<br />

5.6.1 Roots of polynomials .<br />

5. 7 Advanced Topics<br />

139<br />

144<br />

147<br />

147<br />

150<br />

152<br />

154<br />

156<br />

157<br />

158<br />

160<br />

162<br />

163<br />

165<br />

168<br />

170<br />

171<br />

6 Graphics<br />

6.1 Basic 2-D Plots . . . . . . . . . . . . . . . . . . . .<br />

6.1.1 Style options . . . . . . . . . . . . . . . . .<br />

6.1.2 Labels, title, legend, and other text objects<br />

6.1.3<br />

6.1.4<br />

6.1.5<br />

Axis control, zoom in, and zoom out<br />

Modifying plots with the plot editor<br />

Overlay plots . . . . . . . . .<br />

6.1.6 Speciali zed 2-D plots . . . ..<br />

6.2 Using subplot for Multiple Graphs .<br />

175<br />

175<br />

176<br />

176<br />

177<br />

178<br />

179<br />

183<br />

189

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

Saved successfully!

Ooh no, something went wrong!