Returns the Jacobian matrix for the leastsq function.
J = uncprb_leastsqjac ( x, m, nprob, n )
a n-by-1 matrix of doubles, the point where to compute f and g
a 1-by-1 matrix of doubles, integer value, the problem number
a 1-by-1 matrix of doubles, integer value, the number of variables, i.e. the size of x
a 1-by-1 matrix of doubles, integer value, the number of functions, i.e. the size of fvec
a m-by-n matrix of doubles, the Jacobian matrix
This function is designed to be used to make the leastsq solver optimize the problem #nprob. Indeed, the header of the uncprb_leastsqfun function is the one required by the leastsq function.