windv(vector, window size, asInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges More...
Functions | |
function vector2 = | windv (vector1, w_size, asInSmooth) |
windv(vector, window size, asInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges | |
windv(vector, window size, asInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges
function vector2 = windv | ( | vector1, | |
w_size, | |||
asInSmooth ) |
windv(vector, window size, asInSmooth) vectorized version of windv() smooths a vector using a window of +/- window size window size is reduced at the edges
vector1 | vector to smooth |
w_size | a number with a window size to use; w_size==1 gives average window of 3 points, w_size==2 gives average window of 5 points |
asInSmooth | an optional switch how to handle the end points. When asInSmooth == 1 the results are similar to the Matlab smooth function of the curve fitting toolbox |
Referenced by mibCalcCurveLength(), mibCalcShifts(), and mibRunningAverageSmoothPoints2().