Community Profile

# Lu zhang

Active since 2016

#### Content Feed

View by

Question

Error: "Difference order N must be a positive integer scalar" when called symbolic gradient function
In my program, I first use command jacobian generate a symbolic gradient of my objective function.Then I call the function(grad...

5 years ago | 1 answer | 0

### 1

Question

Any command in matlab equivilent to vech() in gauss
The definition of vech() in Gauss is vech Purpose Vectorizes a symmetric matrix by retaining only the lower triangular ...

5 years ago | 1 answer | 0

### 1

Question

MatlabFunction error: Argument 'vars' failed validation isVars.
<https://www.mathworks.com/matlabcentral/answers/312731-how-to-feed-value-to-jacobian-function-in-my-case here> In my program, I...

5 years ago | 1 answer | 0

### 1

Question

How to feed value to jacobian() function in my case?
I need to calculate the gradient of a user-defined object function named fcn. I choose to use jacobian() function to calculate t...

5 years ago | 1 answer | 0

### 1

Question

How should I pick input for jocabian() function im this case?
I want to calculate the gradient for a user-defined function using the jocabian() function.In the subfunction fcn, I pick subset...

5 years ago | 1 answer | 0

### 1

Question

Does jacobian function in matlab equivilent to gradfd function in Guass?
I have an old code that calculating the gradient of object function and use the result to construct weighting matrix. The proble...

5 years ago | 0 answers | 0

### 0

Question

Error: Failure in initial user-supplied objective function evaluation when using fminunc ?
Hi, I plan to calculate a minimum distance estimator using fminunc function. [b,fun,flag] = fminunc(@cov,b0); However...

5 years ago | 1 answer | 0