Question: Plot using NLPSolve

Good Day to all of you.

I am using the function NLPSolve to optimize a function and get its independent variable mínimum value. The problem is that is imposible to plot that Numbers because of the output way. Is like [5.02, [x=0.02]] and is imposible for my to graph. 
The file is attached and also the code of someone tha did it in matlab, is exacly the same result i want to obtain.

I would be really thanks if someone can help me.

Best regards

4.6.mw

matlab_solution.pdf

Please Wait...