Community Profile

photo

ly


Last seen: 3달 전 2014 이후 활성

Statistics

  • Thankful Level 3

배지보기

Content Feed

보기 기준

질문


Find maximum of function with 3 variables
How to find maximum of function with 3 variables? -1<= x1 x2 x3 <=1 function =78.4802 + 5.9976*x1 - 1.94506*x2- 1.7211*x3 - 6....

4달 전 | 답변 수: 1 | 0

1

답변

질문


How to put "."after variables in a function for mesh command
nc=10; [D,delta_z] = meshgrid(((-1:1/nc:1)*2.5+7.5)*1.68,((-1:1/nc:1)*0.4+0.6)*1.68); y1=(7497*D)/3125 - (97253*delta_z)/20000...

4달 전 | 답변 수: 1 | 0

1

답변

질문


Display 3D graph for a function
Display a 3D graph for a function x3 = 0; nc=10; y1 = 43.5943 - 12.5921*x1 + 4.08342*x2 + 3.6128*x3 + 14.4637* x1^2 + 9.3*x...

4달 전 | 답변 수: 1 | 0

1

답변

질문


Define relationship between variables in an equation
An equation has two variables d and t. eqn = ((t - 21/2)*(d/2 - (20898604612049288806642049279907*t)/70957580590508366543483568...

5달 전 | 답변 수: 1 | 0

1

답변

질문


GA: TolFun and constraint violation is less than options.TolCon. Attempted to access allX1(93); index out of bounds because numel(allX1)=9.
Hi, GA was applied to solve a problem with two discrete variables. A message appeared after running GA_1.m Optimization ...

2년 이하 전 | 답변 수: 0 | 0

0

답변

질문


define discrete variables in GA Matlab R2012b
Can I define discrete variables in GA in Matlab R2012b? If it is possible and how to do it?

2년 이하 전 | 답변 수: 0 | 0

0

답변

질문


Error when GA code was used in R2012b
I used GA tool with eval_1 and constr_1 and got the result. But it has a problem with the code: function [x,fval,exitflag...

2년 이하 전 | 답변 수: 0 | 0

0

답변

질문


How to define discrete variables in GA (genetic algorithm)
Hi, I need to optimize a function has four variables by GA tool (genetic algorithm). Two variables are continuous like: x1=...

2년 이하 전 | 답변 수: 1 | 0

1

답변

질문


How to apply inverse function in Matlab 2011b
Hi, I have a function y=f(x,A,R,v,g,E): <</matlabcentral/answers/uploaded_files/80660/Quang%20function.jpg>> I want...

4년 이상 전 | 답변 수: 0 | 0

0

답변

질문


How to set ytickslabel in graph version R2011b
Hi, The graph has ylim([-1 1]) in y axis. Values are displayed -1 -0.5 0 0.5 1 in y axis How to set ytickslabel in graph...

4년 이상 전 | 답변 수: 1 | 0

1

답변

질문


Define a variable from an equation
Hi, I have an equation with x and y are variable and a, b and d are constant. <</matlabcentral/answers/uploaded_files/6377...

약 5년 전 | 답변 수: 2 | 0

2

답변

질문


Fitting an equation with x,y variables and b, d constant.
Hi, I have an equation. <</matlabcentral/answers/uploaded_files/63504/KakaoTalk_20161117_112325194.png>> x=[10,50,100...

약 5년 전 | 답변 수: 2 | 0

2

답변

질문


How to define a constant velocity of second order system in a limited time in Simulink
Hi all, I want to simulate a model (Mass, Spring and Damper) which is considered a second order system. A Mass was applied...

5년 이상 전 | 답변 수: 0 | 0

0

답변

질문


Input string to a matrix or a cell
Hi, I have a string and want to input it to a matrix or a cell. string: name matrix: A(2,3) cell: data{2}(2,4); C...

5년 이상 전 | 답변 수: 1 | 0

1

답변

질문


Calculate area between y = 0 and the curve plotted by discontinuos data
Hi, I have a curve like graph. I want to calculate the area between y = 0 and the curve ploted by discontinuous data. <<...

5년 이상 전 | 답변 수: 1 | 0

1

답변

질문


About color of multi curve
Hi, I want to change color of curves automatically for i=1:3 plot(x,y,'color');hold on; end color=b...

5년 이상 전 | 답변 수: 1 | 0

1

답변

질문


How to display y=0 in figure
Hi, I want to display like the figure. <</matlabcentral/answers/uploaded_files/43879/figure.gif>> How to display ...

6년 이하 전 | 답변 수: 5 | 0

5

답변

질문


How to divide a matrix by a number
Hi, I have a function like: r=[0.1:0.1:10]; E=1/(r^3); How to get value E with correct command. I try several ...

6년 이하 전 | 답변 수: 1 | 0

1

답변

질문


Plot figure with 3 matrix 1D x y z like a surface
Three matrices are x y z coordinates for a figure. ... x=[1:10] y=[11:20] z=[21:30] ... Which command can be used ...

약 6년 전 | 답변 수: 1 | 0

1

답변

질문


Insert a string in a code to export a figure
Hi, This is code: ... name='location'; options.Format = 'tiff'; hgexport(gcf, 'name.tif', options); .... ...

약 6년 전 | 답변 수: 1 | 0

1

답변

질문


Insert a string into code
I want to insert a string in to code: ... name='time'; filename = 'name_v1.txt'; ... Can the 'time' be inserted ...

약 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to get value from cell
I have a cell like this: ... 'ITEM:' '0' 'ITEM:' '75' 'ITEM:' '-0.0001174' '2.1593e-005' '-10' 'IT...

약 6년 전 | 답변 수: 2 | 0

2

답변

질문


Read file txt and input value in Matlab
Hi, I want to read txt file and input value in Matlab. I use "dlmread" but it is always error: "Error using dlmread (line ...

약 6년 전 | 답변 수: 2 | 1

2

답변

질문


Solve eqn and get real part of solution in MatLab R2011b
I use MatLab R2011b and want to solve an eqn and get the real part of solution. This is the code: ... s=solve(y); ....

약 6년 전 | 답변 수: 1 | 0

1

답변

질문


Solve eqn and get real solution
I want to solve an eqn and get the real solution. This is the code: ... s=solve(R_); ... And this is solution: s =...

약 6년 전 | 답변 수: 2 | 0

2

답변

질문


Optimize function (find the minimun value of function of s, s is variable)
I have a function of (s): Rl_f = 1/((- (5731525556631357*s^6)/147573952589676412928 + (21989195558260875*s^5)/18446744073...

약 6년 전 | 답변 수: 1 | 0

1

답변

질문


About Fit a Two-Term Exponential Model
Hi, 1. What does 'StartPoint' mean in this code: f = fit(x,y,'exp1','StartPoint',[1,2]) plot(f,x,y) 2. The blue and bla...

약 6년 전 | 답변 수: 0 | 0

0

답변

질문


Run a short code in a big program
Hi! I have a big program about 250 rows. It is included 3 parts. Part 1 is from 1-60 rows, Part 2 is from 61-150, Part 3 is t...

약 6년 전 | 답변 수: 1 | 0

1

답변

질문


Read data in log.lammps from LAMMPS to Matlab
I simulate by LAMMPS and have a log.lammps file. Now I want to use data from this file to Matlab. How can I read data to Matla...

6년 이상 전 | 답변 수: 1 | 0

1

답변

답변 있음
Display µm not correct in figure in Matlab
Thank a lot!

7년 이하 전 | 0

더로드