Equestrian
Add news
News

1-D data interpolation (table lookup)

1-D data interpolation (table lookup)collapse all in pageSyntaxvq = interp1(x,v,xq)vq = interp1(x,v,xq,method)vq = interp1(x,v,xq,method,extrapolation)vq = interp1(v,xq)vq = interp1(v,xq,method)vq = interp1(v,xq,method,extrapolation)pp = interp1(x,v,method,'pp')Descriptionexamplevq = interp1(x,v,xq) returnsinterpolated values of a 1-D function at specific query points usinglinear interpolation. Vector x contains the samplepoints, and v contains the corresponding values, v(x).Vector xq contains the coordinates of the querypoints.If you have multiple sets of data that are sampled at the samepoint coordinates, then you can pass v as an array.Each column of array v contains a different setof 1-D sample values.examplevq = interp1(x,v,xq,method) specifies an alternative interpolation method: 'linear', 'nearest', 'next', 'previous', 'pchip', 'cubic', 'v5cubic', 'makima', or 'spline'. The default method is 'linear'.examplevq = interp1(x,v,xq,method,extrapolation) specifiesa strategy for evalua...

Comments

Комментарии для сайта Cackle
Загрузка...

More news:

Midwest Distance Driving Association
Midwest Distance Driving Association
Midwest Distance Driving Association

Read on Sportsweek.org:

Tonkawood Farm
The Shire Horse Society
Tonkawood Farm

Other sports

Sponsored