CS 1371 Lecture Notes - C String Handling
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") <