I have one function that is consisted of several matrices.. The function is,
R := log(determinant(MCOV))+trace(multiply(SCOV, inverse(MCOV)))-log(det(SCOV))-2+Transpose(SM-TAU-multiply(L,K))&*inverse(MCOV)&*(SM-TAU-multiply (L, K));
where MCOV, SCOV, SM,TAU, L, K are all matrics. In a MCOV and L, there are symbols also..
I have tried to get...