Interpolate the supplied imat_shp.
t=interp(s,100)
t=interp(s,NPOINTS,SCALES,METHOD)
t=interp(s,'inc',INCREMENT)
t=interp(s,'inc',INCREMENT,SCALES,METHOD,EXTRAPTYPE)
INTERP will generate linear- or log-spaced frequency values for the provided shapes, then pair each point with an interpolated shape coefficient. INTERP uses the MATLAB INTERP1 function to perform the interpolation.
NPOINTS is a number specifying how many frequency values to generate, or a vector of frequency values at which to interpolate. If the string 'values' is supplied,then NPOINTS is always interpreted as frequency values. This is necessary if NPOINTS is a scalar frequency. If the string 'inc' is supplied, then INCREMENT is a number specifying the spacing between consecutive frequencies.
SCALES is an optional string specifying whether the frequency/coefficient values should use linear or logarithmic scaling for the frequencies and shape coefficients, respectively. Possible values are 'lin' (default), 'linlog', 'loglin', and 'loglog'.
METHOD is an optional string, passed to INTERP1 to control the method of interpolation. Values accepted by INTERP1 include 'nearest', 'linear', 'spline', 'pchip', 'cubic', and 'v5cubic'. The default is 'linear'. An empty string specifies the default method.
EXTRAPTYPE is an optional numeric scalar, passed to INTERP1 to control the value to be used for extrapolated data. If specifying EXTRAPTYPE, you must also specify METHOD.
>> g=interp(f,'inc',0.05,'lin');
>> g=interp(f,100,'linlog');
>> g=interp(f,100,'loglog','cubic');
>> g=interp(f,100,'linlog','cubic',0);
>>