Timeline for How to make Jacobian automatically in Mathematica
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 19, 2012 at 15:04 | vote | accept | George Mills | ||
May 19, 2012 at 15:04 | |||||
May 19, 2012 at 15:04 | vote | accept | George Mills | ||
May 19, 2012 at 15:04 | |||||
May 19, 2012 at 15:03 | comment | added | Jagra | Your comment code, a = ( { {x1^3 + 2 x2^2}, {3 x1^4 + 7 x2} } ); b = ( { {x1}, {x2} } ); defines 2 matrixes. Placing the terms in vectors they should look like this: a ={x1^3 + 2 x2^2,3 x1^4 + 7 x2}; b = {x1, x2}; | |
May 19, 2012 at 15:00 | history | edited | Jagra | CC BY-SA 3.0 |
edited body
|
May 19, 2012 at 14:56 | comment | added | George Mills | it is not working as Needs["VectorAnalysis`"] a = ( { {x1^3 + 2 x2^2}, {3 x1^4 + 7 x2} } ); b = ( { {x1}, {x2} } ); JacobianMatrix[a, b] // MatrixForm | |
May 19, 2012 at 14:48 | history | edited | Jagra | CC BY-SA 3.0 |
more code and output
|
May 19, 2012 at 14:31 | comment | added | George Mills | How to print matrix J, to see output? | |
May 19, 2012 at 14:29 | comment | added | George Mills | it is not working as JacobianMatrix[a_List?VectorQ, b_List] := Outer[D, a, b] /; Equal @@ (Dimensions /@ {a, b}) | |
May 19, 2012 at 14:23 | history | answered | Jagra | CC BY-SA 3.0 |