Dear all, I am a rather new user. I am trying to take the derivative of a matrix w.r.ta variable, say ksi, but diff(Matrix,ksi,2) does not seem to work. Any help is appreciated Rgds, Umut