photo

민제 강


Last seen: ongeveer 2 jaar ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Is the z-axis in a Sphere only positive?
[X, Y, Z] = sphere(10); Points = [X(:), Y(:), Z(:)].'; plot3(Points(1,:), Points(2,:), Points(3,:), 'x'); I want to get poi...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


How do I get MLE(Maximum Likelihood Estimation)?
Hello How do I get MLE at data.mat?

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


How can I put Excel data into the function?
function [y] = rosensc(xx) xx = [x1 x2 x3 x4]; for ii = 1:4 xxbar(ii) = 15*xx(ii) - 5; end sum = 0; for ii = 1:3...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How can I get the Y value at once?
function Y = objectivefunction (X) x1 = ; x2 = ; x3 = ; x4 = ; Y = x1*x4*[x1+x2+x3]+x3; end There are 20 x1, x...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I get some sampling points from a 4 dimentional function at LHS(Latin Hypercube Sampling)?
function scores = rosenbrockfcn(x) scores = 0; n = size(x, 2); assert(n >= 1, 'Given input X cannot be empty'); ...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How can I use GA(Genetic Algorithm) with values of x1, x2, f(x1, x2)?
A function(@objective_function) is required when using most GA. For example [Xr,fval,exitflag,output,population,scores] = ga(@o...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I solve this problem at the optimization toolbox?
function Y = objective_function(X) x1=X(1,1); x2=X(1,2); p00 = -9.601e+04; p10 = -1031; p01 = ...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I write the code for 3 dimention rosenbrock function?
function Y = objectivefunction (X) x1 = -7.86586; x2 = -1.20733; Y = 100*(x2-x1^2)^2 + (x1-1)^2; end This is a 2...

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


How do I make a contour?
data = readtable('kriging_branin_20'); krin = readtable('LHS_branin_20.xlsx'); ux1 = unique(data.x1); nx1 = length(ux1); X1 ...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I write the LHS code?
I want to get points through the LHS within the Rosenbrock function. f(x)=100*(x2-x1^2)^2 + (1-x1)^2 x1^2 + x2^2 <= 1 Please ...

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


How do I plot points on a contour?
data = readtable('Sample.xlsx'); ux1 = unique(data.x1); nx1 = length(ux1); X1 = reshape(data.x1, [], nx1); X2 = reshape(data...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I draw contour?
I want to draw a contour for the difference between Y and kriging in Sample.xlsx Red if the error is big. Blue if the error i...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I put it in?
x1 = [-4.2 -2.6 -1 0.6 2.2 3.8 5.4 7 8.6] x2 = [0.8 2.4 4 5.6 7.2 8.8 10.4 12 13.6] function Y = objectivefunction (X) x1 ...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I put it in?
x1 = [-4.2 -2.6 -1 0.6 2.2 3.8 5.4 7 8.6] x2 = [0.8 2.4 4 5.6 7.2 8.8 10.4 12 13.6] predictor([x1 x2], dmodel) [-4.2 0.8], [-...

meer dan 3 jaar ago | 2 answers | 0

2

answers

Question


How can I make a reaction surface using kriging? Also, how can I get a value other than the data value?
How can I make a reaction surface using kriging? Also, how can I get a value other than the data value? x1 = [4.158236141 6.153...

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


How do I use LHS(Latin Hypercube Sampling)?
x1=[-5,10] x2=[0,15] Branin function= @(x) (x(:,2)-5.1*x(:,1).^2./(4*pi^2)+5*x(:,1)./pi-6).^2 + 10*(1-1/(8*pi))*cos(x(:,1))+...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do I draw the same graph as the picture?
x1 = [4.158236141 6.153599506 -4.535940798 7.598349019 1.546377884 -1.345068203 9.996482015 -0.173832303 -4.963945249 7.60191503...

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How do you get the value for any point on the response plane?
Branin function I used the Latin Hypercube design. x1 = [4.158236141 6.153599506 -4.535940798 7.598349019 1.546377884 -1.34506...

meer dan 3 jaar ago | 1 answer | 0

1

answer