ENG 6 Lecture Notes - Lecture 9: Matlab, Linear Regression, Cubic Hermite Spline

36 views4 pages

Document Summary

Read over tonight, have questions to ask this week (don"t wait) Inline and anonymous functions: if you want to write a function that you"ll need for a few minutes, not a good idea to use these regularly; not for big projects. Anonymous functions: fhandle = @(arglist) expression. Arglist is comma separated list of input arguments. Feval and function handles: use feval to call and evaluate other functions by their function handle, first input is function handle, calls function indirectly. Auto-code generation feature of matlab: >>x=linspace(1,10,30), y1=sin(x, y2=cos(x, plot(x,y1,x,y2) Relationship between science, engineering, and technology: science needs to understand natural world, often needs new tools, engineers use scientific discovery to design products and process that meet society"s needs. Generic engineering design cycle: ask, imagine, plan, create, improve. Detailed engineering design: identify the problem, identify criteria and constraints, brainstorm possible solutions, generate ideas, explore possibilities, select an approach, build a model or prototype, refine the design.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers