From: Will on 8 Feb 2010 10:32 Hi Everyone, Say I have 5 points of data that describe a relationship between variable A and variable B. I put these into an array so that I can use it as a look up table ( e.g an arbitrary example: if A = 1, then B = 5). But what happens if the A value I need is not one of my original 5 points in the A vector - e.g. if the A value is between points 2 and 3 - a place with no data! Is there a method I can get MATLAB to interpolate between points 2 and 3 and give me an estimated value for B? Many thanks, Will
From: Matt J on 8 Feb 2010 10:52 help interp1 and also because you had a hard time finding this: help docsearch help lookfor
|
Pages: 1 Prev: Determine BufSize in texscan Next: isequal function handles |