# Lecture21 - Engineering Analysis ENG 3420 Fall 2009 Dan C...

This preview shows pages 1–5. Sign up to view the full content.

Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 Lecture 21 Lecture 21 Last time: Relaxation Non-linear systems Random variables, probability distributions, Matlab support for random variables Today Histograms Linear regression Linear least squares regression Non-linear data models Next Time Multiple linear regression General linear squares
Statistics built-in functions Built-in statistics functions for a column vector s : mean( s ), median( s ), mode( s ) Calculate the mean, median, and mode of s . mode is a part of the statistics toolbox. min( s ), max( s ) Calculate the minimum and maximum value in s . var( s ), std( s ) Calculate the variance and standard deviation of s If a matrix is given, the statistics will be returned for each column.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Histograms [ n , x ] = hist( s , x ) Determine the number of elements in each bin of data in s .
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern