matlab coding 5

Please solve the questions in the attached document and save isa as a .m file, thank you. If you have any more questions please ask.