MATH 2370 Lecture Notes - Lecture 18: Intermediate Value Theorem, Bisection Method, Numerical Analysis

10 views3 pages

Document Summary

Write some code to read only the "good" data into a vector, tempgood, until the data goes "bad" Note: need a counter i=1 while temp(i)<=200 && temp(i)>=0 tempgood(i) = temp(i) i=i+1 end. Note: didn"t preallocate because we didn"t know the length of tempgood (could use length(temp)) Matlab shortcut: end = min(find(temp<0 || temp>200))

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

Related textbook solutions

Related Documents