Data sampling and reconstruction in digital control systems using MATLAB