CE20230 Lecture Notes - Lecture 6: Power Law, Environmental Engineering

29 views3 pages
School
Course
Professor

Document Summary

Department of civil and environmental engineering and earth sciences. This brief worksheet goes over the details of how we determine the non linear model using the results of our linear tting in matlab. >> y = exp(r(2))*x. ^r(1) we note that the data should look fairly linear on a log log plot, i. e. >> loglog(x,y: if we wish to t an exponential model y = bemx we t the following. >> y = r(1)*log(x)+r(2) we note that the data should look fairly linear on a semilog x plot, i. e. >> semilogx(x,y: if we wish to t a reciprocal model y = 1 mx + b we t the following. >> y = 1. /(r(1)*x+r(2)) we note that the data should look fairly linear on a reciprocal rectilinear plot, i. e. >> plot(x,1. /y) Note that for plotting we don"t alter the data, we just use a di erent plot command. Its only when using poly t that we alter the data.

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 Documents