CS 1371 Lecture Notes - C String Handling

56 views2 pages
30 Nov 2012
Course
Professor

Document Summary

Fridge=struct("shelf1", {"bananas", "yogurt", "pizza", "macaroni and cheese"},"q uantity", {2, 3, 1, 1}, "wanttoeat", {false, false, true, true}); yum=fridge(strcmp({fridge. shelf1}, "pizza")); Length of x and y must be the same spline() function new_y=spline(x,y,new_x) extrapolation spline() same syntax as above (cid:0) automatically recognizes it if you ask for an x outside the dat a range interp1() function new_y=interp1(x,y,new_x,"spline") <

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 Documents