Solved Please Solve This Using Matlab Only Write The Code

Solved Please Solve This Using Matlab Only Write The Code