Presentation is loading. Please wait.

Presentation is loading. Please wait.

CVEN 302-501 Exam 1 Review. Matlab Basic commands and syntax Basic commands and syntax Creation of functions and programs Creation of functions and programs.

Similar presentations


Presentation on theme: "CVEN 302-501 Exam 1 Review. Matlab Basic commands and syntax Basic commands and syntax Creation of functions and programs Creation of functions and programs."— Presentation transcript:

1 CVEN 302-501 Exam 1 Review

2 Matlab Basic commands and syntax Basic commands and syntax Creation of functions and programs Creation of functions and programs Using functions at command prompt Using functions at command prompt Arrays, matrices Arrays, matrices Matrix least squares Matrix least squares Passing functions to functions with @ Passing functions to functions with @

3 Matrices Matrix operations: addition, subtraction, multiplication, transpose Matrix operations: addition, subtraction, multiplication, transpose Entering matrices in Matlab Entering matrices in Matlab Matrix indexing: A mn Matrix indexing: A mn Calculating the matrix inverse by hand Calculating the matrix inverse by hand Identity matrix Identity matrix

4 Linear Algebra Write system of equations in matrix form Write system of equations in matrix form Solution: x = A -1 b Solution: x = A -1 b Convert to row-echelon form using Gauss elimination (naïve and regular) Convert to row-echelon form using Gauss elimination (naïve and regular) LU decomposition LU decomposition Cholesky decomposition Cholesky decomposition

5 Linear Regression Linear Regression by hand (summation equations) Linear Regression by hand (summation equations) Regression statistics Regression statistics –Standard error –Correlation coefficient –Coefficient of determination Function linearization (fitting y=ae bt ) Function linearization (fitting y=ae bt )

6 Matrix least squares Setting up the A, y, and theta matrices by hand Setting up the A, y, and theta matrices by hand Computing the regression coefficients in Matlab Computing the regression coefficients in Matlab Fitting linear equations with more than 2 parameters Fitting linear equations with more than 2 parameters

7 Interpolation Lagrange interpolation Lagrange interpolation

8 Integration Trapezoidal rule Trapezoidal rule Simpson’s rules Simpson’s rules Composite methods for data with constant step size Composite methods for data with constant step size Romberg integration Romberg integration

9 Ground rules Two sheets of notes, double sided Two sheets of notes, double sided Hand-held calculator Hand-held calculator Show all your work on work-out problems Show all your work on work-out problems 7:30-9:00 p.m. in CE 110 7:30-9:00 p.m. in CE 110 Sit with at least one seat between you and your neighbor Sit with at least one seat between you and your neighbor


Download ppt "CVEN 302-501 Exam 1 Review. Matlab Basic commands and syntax Basic commands and syntax Creation of functions and programs Creation of functions and programs."

Similar presentations


Ads by Google