Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

problem using fmincon in matlab

Asked by Kesni savitri

Kesni savitri (view profile)

on 15 May 2013

I have used fmincon syntax to solve constraint minimization problem. it appeared NaN in solution. what is the possible error in my program?

0 Comments

Kesni savitri

Kesni savitri (view profile)

Products

1 Answer

Answer by Walter Roberson

Walter Roberson (view profile)

on 15 May 2013
Accepted answer

You have 0/0 or a calculation involving two infinities.

1 Comment

Kesni savitri

Kesni savitri (view profile)

on 15 May 2013

thank you very much:)

Walter Roberson

Walter Roberson (view profile)

Contact us