Community Profile

Contact

Top 5% contributor

Hi I opened this thread whit hope that I will find something for my problem but I am not assured. I have a formula for computing...

7446 views

Responded 5 years ago

Hi Metteo I have the same problem - Error in svd within fmincon. You said that down-scaled the output of objective to avoid very...

5050 views

zedong I'm not sure but try this: [xx yy]=meshgrid(rand(100,1)); one of those plot functions might help you.

4645 views

zedong I think that this is 3D function (because you have 3 arguments) Plot them with

I guess you are right, my problem is not in my object function then in the way I use fmincon because after this routine is calle...

2952 views

I dont have square-root because my object function works with squared norm, however this doesn't solve my problem Thanks anyway...

Hi I want to estimate the length of a spline curve, I want to put this length in fmincon rutine as an object function. This is ...

Posted 5 years ago

Thanks tor you reply I tried as you suggest - with arrayfun, but it takes fairly much time to compute it and if I considerate th...

2723 views

Hello everyone I use quad functions to evaluate the integral value of my function: function y=el_en1(s,C) Cprim=fnder(C); ff=f...

My objective function is spline curve length-without square root because it's enough to minimize the square of the length - (or ...

2482 views

Thanks for you reply, but when I try to use interior-point method I get this message: (my start point satisfy my constraints) fo...

Hello, again I am running a optimization with fmincon and it works quite good until I don't get this message in 'procedure' outp...

Sorry, I wasn't clear First I am relying on the solvers Hessian not my one. Here are options for the fmincon that I call: option...

2309 views

Thanks for response Here is how I noticed that I have better parameters during the iterations. I've put a break point in my obj...

I have noticed that after some iteration (sometimes second, sometimes fifth) fmincon finds parameters that give minimal objectiv...

Hello I want to approximate cubic curve with straight segments with given tolerance. The point is that I want to have fewer seg...

2101 views

Posted 4 years ago

Thanks for reply Alan! I will try as you suggest but from what I read (and try) about output functions I can only see something...

1244 views

Hello I still have a problem with fmincon and I think that this could solve my problem if it is possible: Can I stop fmincon whe...

Hello again, and thanks for reply. I will try your suggestions but the point is that I use this anonymous function as objective...

1175 views

Responded 4 years ago

Hello everyone, I'm using anonymous function to reduce the number of input arguments i.e. in one .m file I have a function: fu...

Hello, Can you tell me if there is a routine in MATLAB that provides the collocation matrix of the least squares fit of the cur...

1141 views

Hello everyone, I have problem with fmincon (again). My objective function is quadgk(1/x) where x is vector. During optimization...

1089 views

But I get this error mesage: Damped Newton iteration failed to converge. I've tried this (avg_knots, 4, 50) but I still get t...

997 views

Hi, I have a problem when using matlab compiled dll with mcc compiler. The result is different when using the same m file from ...

877 views

Hi I am using fmincon to optimize this function by knot and param function J=objfun(knot, param, k, P) x=P(:,1); knot=sort(knot...

851 views

All additional knots occur already to full multiplicity and it appears in a loop (a lot of times) so I have to stop mu program ...

743 views

Hello everyone! I have a problem with fmincon violating the constraints, as I know during the optimization fmincon can violate i...

733 views

Hi everyone! I use this: in fmincon output function so that I pause optimization after each iteration and after that I resume...

710 views

Load more