Why do I obtain edge effects or oscillations when using the…?

Why do I obtain edge effects or oscillations when using the RESAMPLE function to perform non-integer resampling on my signal in the Signal Processing Toolbox 6.7 (R2007a)?

I am using the RESAMPLE function on my signal with Signal Processing Toolbox 6.7 (R2007a) and I see that the resampled signal suffers from edge effects, i.e. oscillations at the edges. This can be seen from the following example.

I know that this problem could be prevented if I were able to specify initial and final conditions for my signal in the RESAMPLE function. However, the function does not allow that. I want to compensate for this and obtain correct results.


Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

he ability to specify initial and final values for the signal is not available in the RESAMPLE function in Signal Processing Toolbox 6.7 (R2007a).

The RESAMPLE function assumes that the signal values before and after the specified signal are zeros. However, this may not be true for your particular biased signal as in the example above. This assumption is what causes the edge effects (or oscillations) to occur.

To work around this issue, you should pad your input signal at the beginning and end with the appropriate values, and then use RESAMPLE. The relevant signal can then be extracted from the results of resampling.



Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.