Interpolate network parameter data at new frequencies
interpolates the network parameter data in objnew
= rfinterp1(objold
,newfreq
)objold
at the specified frequencies, newfreq
, storing
the results in objnew
.
rfinterp1
uses the MATLAB® function interp1
to
interpolate each individual (i,j)
parameter of
objold
to the new frequencies.
If any value of the specified frequency is outside of the range
specified by objold.frequencies
, then
rfinterp1
inserts NaNs
into objnew
for those frequency values.
The function uses the MATLAB function interp1
to perform the
interpolation operation. Overall performance is similar to the RF Toolbox
analyze
function. However, behaviors of the two functions
differ when freq
contains frequencies outside the range
of the original data:
analyze
performs a zeroth-order
extrapolation for out-of-range data points.
rfinterp1
inserts NaN
values for out-of-range data points.