Community Profile

photo

risky amalia


Last seen: fast 3 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


convert codes into matlab R2015b
close all; clear; clc; %menentukan opsi optimisasi options = optimoptions(@fminunc,'Display','iter','Algorithm','quasi-newton'...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to plot into quadratic graph?
f = @(x,y) 100*(Y-X^2)^2+(1-X)^2

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 = ...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort