I am trying to create this function in MATLAB. From a previous question, I have solved for a as "agrid2" and f(a) as "fx", whose