code of optimal values

Job ID: 31227489

Budget: $30 – $60 USD

i want to make a code matlab to get the optimal values using least square method as the same in ex 1