matlan assignment

Complete the following problems in a single scrip t file and up load it.

I attached the file for the problems, I need the MATLAB code for all these problems.

I hope all things are clear.