Top 10% contributor
I am considering an optimization where both the objective and non-linear constraint and functions of a function, such as (exclud...
Asked 1 year ago
That was a great reply. Very helpful site. A+
4 years ago
I re-ran it with the DerivativeCheck and the derivatives were calculated correctly. The problem was using the interior point alg...
Seems your right. Was a little late at night when I was writing that. I'll try that derivative check option.
These comments and the documentation don't seem to refer to gradients in the nonlinear constraints. I got multiple nonlinear con...
I want to use the symbolic toolbox to define a vector and then use the vector in a function and differentiate the function with ...
5 years ago
Thanks, that seems pretty obvious now that I think about it.
So let's say I have some vector w and some function f(u) that can produce a vector w. I want to choose u such that w-f(u)=0. Thi...
4 years ago
I have an excel file with one column of dates and several columns of data (there are some #N/As, but xlsread doesn't have a prob...
Asked 3 years ago
Well I think I figured out a more efficient way to do it without loops. [m n]=size(X); w=ones(m,n); w(isnan(X))=0; w1=reshape(w...
So I want to take an mXn matrix, called X, and find the NaNs in it. Then, I want to take this (m,n) nan matrix and check the int...
Join the conversation