Classification, Parameter Estimation and State Estimation: An Engineering Approach Using MATLAB