Feeds
提问
How to record the function value for each iteration with using fmincon function.
clc, clear all %Inıtial Guess x0=[1,6]; %% %Lower and upper bounds LB=[-inf]; UB=[10]; %% %fmincon function [x,fval]=...
4 years 前 | 0 个回答 | 0
0
个回答提问
Background color of part of figure
%Objective Function --> 8*X1 + 10*X2 + 4 %Constrait 1 --> X1 - X2 >= -4 %Constrait 2 --> X1 + X2 <= 6 %Bound...
5 years 前 | 1 个回答 | 0
1
个回答提问
How can I get the coefficient of this symbolic expression?
This is my code ti=0; tf=2; h=0.5; tt=ti:h:tf+h; i=2; syms q(t) p(t) d(t) g(t) y(t) q(t)=1; p(t)=t; d(t)=0; g(t)=2-ab...
6 years 前 | 1 个回答 | 0
