I need two things:

1) solution on paper with steps.

2) .m files containing the MATLAB code developed.

Is this part of your assignment? ORDER NOW