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...

11262 views

Responded 7 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...

6382 views

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

5983 views

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

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...

3985 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...

Posted 7 years ago

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...

3636 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 ...

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...

3323 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...

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

3290 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...

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

2689 views

Posted 6 years ago

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 ...

1778 views

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...

1675 views

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...

1586 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...

1424 views

Responded 6 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 everyone, I have problem with fmincon (again). My objective function is quadgk(1/x) where x is vector. During optimization...

1349 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...

1221 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 ...

1095 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...

1068 views

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

998 views

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

976 views

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries