Community Profile

photo

risky amalia


Last seen: 4 days ago
8 total contributions since 2020

risky amalia's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


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 months ago | 1 answer | 0

1

answer

Question


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

4 months ago | 0 answers | 0

0

answers

Question


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 months ago | 0 answers | 0

0

answers

Question


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

4 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 0 answers | 0

0

answers

Question


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 months ago | 1 answer | 0

1

answer

Question


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 months ago | 1 answer | 0

1

answer