提问


Undefined variable in functions
Following is the file simplefitnes.m function y = simple_fitnes(x) y = p * (x(1)^2 - x(2)) ^2 + (1 - x(1))^2; end Th...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Not enough input arguments
Please refer to the following link http://in.mathworks.com/help/gads/examples/coding-and-minimizing-a-fitness-function-using-the...

7 years 前 | 0 个回答 | 0

0

个回答

提问


Minimise a fitness function using GA toolbox having variable number of variables
I have an error function which I wish to minimise using GA. The error function can be a function of 1,2, 3 or many variables dep...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Substituting variable into equation
I am attaching a snippet of the program which I am doing. yt = ilaplace(y_syms) syms t yred = ilaplace(r) syms t ...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Solving non linear equation for a constant
I have got(after writing some code) 1) y = A1/2 - (A1*exp(-(2*t)/3))/2 and yred = exp(-2*t)/2 - exp(-t) + 1/2. I need to equat...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Find steady state value of a function
By writing some program code I got an output y = exp(-2*t)/2 - exp(-t) + 1/2. I want to separate out 1/2 from it. What command s...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to pass variables from a matlab file to function in another file
I have made a Matlab file SystemDetail.m where I have taken some data as input from the user. I have taken two matrices n, d and...

7 years 前 | 1 个回答 | 0

1

个回答