How to create new variables

I now calculate this program.
options = optimoptions('fmincon', 'Display','iter','Algorithm','interior-point');
[x,fval] = fmincon(@(x)mindistance(x,x0),x0,A,b,Aeq,beq,lb,[],[],options)
I want to create new variables for example, x,x0,etc. Please tell me how to do it.

 Risposta accettata

Più risposte (1)

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by