Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Matlab Exam Review: Data Types, Operations, Plotting, I/O, Numerical Methods - Prof. E. Cl, Study notes of Engineering

A matlab exam review covering various topics including data types (arrays, sub-arrays, structure arrays), operations (arithmetic, logical), constructions (flow control, function functions, global variables), plotting, i/o, numerical methods (linear equations, polynomials, quadrature), and finding zeroes. It includes information on matlab functions, operators, and syntax.

Typology: Study notes

Pre 2010

Uploaded on 02/13/2009

koofers-user-3ok
koofers-user-3ok 🇺🇸

10 documents

1 / 18

Toggle sidebar

Related documents


Partial preview of the text

Download Matlab Exam Review: Data Types, Operations, Plotting, I/O, Numerical Methods - Prof. E. Cl and more Study notes Engineering in PDF only on Docsity! AOE/ESM 2074 - E.M. Cliff 1✬ ✫ ✩ ✪ Exam Review Matlab data types ➤ arrays • double/complex • character • logical AOE/ESM 2074 - E.M. Cliff 2✬ ✫ ✩ ✪ ➤ sub-arrays ➤ structure arrays • fields • array of structures AOE/ESM 2074 - E.M. Cliff 5✬ ✫ ✩ ✪ Exam Review Matlab constructions ➤ flow control • if - else - end • for - end • while - end AOE/ESM 2074 - E.M. Cliff 6✬ ✫ ✩ ✪ Exam Review Matlab - program elements ➤ function .m files ➤ global variables ➤ feval and function functions ➤ use of ‘standard ’Matlab AOE/ESM 2074 - E.M. Cliff 7✬ ✫ ✩ ✪ function functions • fzero • quad ➤ internal (sub) functions AOE/ESM 2074 - E.M. Cliff 10✬ ✫ ✩ ✪ Exam Review Matlab - I/O ➤ fprintf - format specification ➤ fopen fclose , fid value AOE/ESM 2074 - E.M. Cliff 11✬ ✫ ✩ ✪ Numerical Methods Linear (Matrix) Equations ➤ Upper/Lower triangular form ➤ Gaussian elimination ➤ forward solution and backward substitution AOE/ESM 2074 - E.M. Cliff 12✬ ✫ ✩ ✪ ➤ Matlab’s backslash operator \ x = A\b A divides b ➤ linear least-squares A x = b where A is an n × m array with n > m (A is tall and thin ) AOE/ESM 2074 - E.M. Cliff 15✬ ✫ ✩ ✪ ➤ coefficient (row) vector ➤ roots AOE/ESM 2074 - E.M. Cliff 16✬ ✫ ✩ ✪ Numerical Quadrature ➤ Newton-Cotes idea • Interpolate (xı, f(xı)) with a polynomial • Evaluate the integral of the polynomial AOE/ESM 2074 - E.M. Cliff 17✬ ✫ ✩ ✪ ➤ (Special Case) Linear (affine) approximation trapezoidal rule ➤ Matlab’s quad
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved