risky amalia
Followers: 0 Following: 0
Feeds
提问
optimization using genetic algorithm
i have 4 variables to optimize in GA which each have Upper Bound 100% and Lower Bound 0%. i need the result didn't exceed 100% w...
3 years 前 | 1 个回答 | 0
1
个回答提问
Error using / matrix dimensions must agree
for i=1:M Prob(i) = Datfit(i)/sumfitness; end halo. here's my code. i want to know the solution bcs there's always error
3 years 前 | 1 个回答 | 0
1
个回答提问
how can i plot this code into a banana solutiongraph?
options = optimoptions(@fminunc,'Display','iter','Algorithm','quasi-newton'); [x,fval,exitflag,output] = fminunc(fun,x0,optio...
4 years 前 | 1 个回答 | 0
1
个回答提问
convert codes into matlab R2015b
close all; clear; clc; %menentukan opsi optimisasi options = optimoptions(@fminunc,'Display','iter','Algorithm','quasi-newton'...
4 years 前 | 0 个回答 | 0
0
个回答提问
I think my code has right, but still see warning
sfprint('Initial Objective Function Value: %d\n\n',subs(f,[X,Y], [x(1),y(1)])); if (norm(J) < e) sfprint('Minimum succesfu...
4 years 前 | 0 个回答 | 0
0
个回答提问
running took very long time for this coding . why so? am I write a wrong function?
clc clear format long % Function Definition (Enter your Function here): syms X Y; f = 100*((Y-X^2)^2+(1-X))^2; % Initial G...
4 years 前 | 1 个回答 | 0
1
个回答提问
DFP Quasi-Newton for Quadratic Function
i tried multiple times with the tutorial from mathwork about quasi-newton but always failed, maybe my Matlab R2015b is not match...
4 years 前 | 0 个回答 | 0
0
个回答提问
What should I do? In an assignment A(:) = B, the number of elements in A and B must be the same.
%%it says that error is in the x(i+1) and y(i+1) while norm(J) > e I = [x(i),y(i)]'; syms h; % Step size g = ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Error: Function definitions are not permitted in this context
Hi, i tried multiple times to change the function inside a script, but it kept fail eventhough i follow all the instructions and...
4 years 前 | 1 个回答 | 0