Linear interpolation
Linear interpolation
(OP)
I am trying to perform linear interpolation for vector arrays P and M. Both arrays are defined as functions of single variable 'C'. C range is provided. Using built-in interpolation function M1=linterp(P,M,P1) gives an error: P - shall be a matrix of real numbers.
Is there a way to convert the function results into a matrix? Or perform this interpolation some other way?
Thanks!
Is there a way to convert the function results into a matrix? Or perform this interpolation some other way?
Thanks!
RE: Linear interpolation
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: Linear interpolation
RE: Linear interpolation
po and mo are clearly defined in your example as FUNCTIONS. Since you already have po and mo as functions, there is no need for an interpolation.
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: Linear interpolation
I imagined with given range of variables mathcad stores function results in arrays, just like plotting XY graph. Do I need a 'for' loop? I am just getting familiar with mathcad, so don't really know exact syntax.
RE: Linear interpolation
http://files.engineering.com/getfile.aspx?folder=0...
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: Linear interpolation