Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Matrix Differentiation

  • To: mathgroup at
  • Subject: [mg85917] Re: Matrix Differentiation
  • From: dh <dh at>
  • Date: Wed, 27 Feb 2008 04:34:28 -0500 (EST)
  • References: <fq0uav$kab$>

Hi Mark,

you got what you asked for. The syntax you used gives the gradient, see 

the manual. What you want is written as:


hope this helps, Daniel

mark wrote:

> Hi all,


> I need to differentiate a 4x4 matrix M with respect to four variables

> x1,x2,x3 and x4.


> I have tried to use the function D as follows:


> D[M,{{x1,x2,x3,x4}}]


> what I get is a 4x4 matrix and each term in this matrix is a vector.


> Am I right when I used this function or there is another function to

> do so?


> Thanks


  • Prev by Date: Export Data from Mathematica to Excel
  • Next by Date: What is the fastest way to threshold data?
  • Previous by thread: Re: Matrix Differentiation
  • Next by thread: Deleting elements from a Table