AMATH 301 Lecture Notes - Lecture 11: Matlab, Root Mean Square, Dot Product

122 views3 pages
1 Feb 2018
School
Course

Document Summary

These notes reference files in canvas 1. % data fitting: we use a few kinds of ways to fit data in matlab, curve. Given x and y, we search for m. % and b in the equation y = mx + b. % to check our error, we are using the equation error_k = m * x_k + b. % where m*x_k + b = predicted value, and y_k is the actual value. % adjust our guesses using our error we calculate. % max error is given by taking the max of that equation. % average error is given by taking the sum of that equation squared, % and then dividing through by n. aka l1 error. % root mean square error is given by taking the square root of the entire. % we want to minimize e(m,b), and we do this with partial derivatives with.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents