jacmodhs52.m 202 Bytes
Newer Older
1
function jac = jacmodhs52(p)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2
3
4
5
6
7
  m=5;

  jac(1, 1:m)=[4.0, -1.0, 0.0, 0.0, 0.0];
  jac(2, 1:m)=[0.0, 1.0, 1.0, 0.0, 0.0];
  jac(3, 1:m)=[0.0, 0.0, 0.0, 1.0, 0.0];
  jac(4, 1:m)=[0.0, 0.0, 0.0, 0.0, 1.0];