Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 0 answers | 0

0

answers

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 1 answer | 0

1

answer