Community Profile

photo

Honey Adams


Last seen: 2 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to call a function from another file?
How do i obtain results of a function I created by calling it from another script file. function [] = mychaos(Initial_Value) ...

5 years ago | 1 answer | 1

1

answer

Question


Issues with minimizing function using genetic algorithm.
I have an issue with trying to minimize the function in the code above using a genetic algorithm. The error I keep getting is sh...

5 years ago | 1 answer | 0

1

answer

Question


How do i minimze my fuzzy logic controller using genetic algorithm?
I am trying to minimize the function of my fuzzy logic controller using the genetic algorithm. Please find attached the code for...

5 years ago | 1 answer | 0

1

answer

Question


Matlab code for mining association rule
I would be glad if anyone has a matlab code fro mining association rules using genetic algorithm.

5 years ago | 0 answers | 0

0

answers

Question


Matrix dimension problems in Genetic programming. N.B I am not referring to Genetic algorithm
I am implementing the genetic programming toolbox version 2 from <https://sites.google.com/site/gptips4matlab/home> to generate ...

5 years ago | 1 answer | 0

1

answer

Question


Programme not running when using fsolver.
I would be glad if anyone could help me identify the reason my code isn't running when using fsolve.

5 years ago | 1 answer | 0

1

answer

Question


Folsve issues in function definition
I have a system of nonlinear equations and I am trying to solve with the fsolve solver. I defined the function and the variables...

5 years ago | 1 answer | 0

1

answer

Question


Defining functions with exponentials
I defined the function below in Matlab where my parameters are x and constants v, data, t. I tried to test the function but the ...

6 years ago | 1 answer | 0

1

answer

Question


Errors in objective function
data=[0; 0; 0; 37248; 58649; 85974; 132620; 200698; 266406; 325423; 383975; 443234; 498503...

6 years ago | 2 answers | 0

2

answers

Question


Define optimization objective independently of the dimension
How do i define this objective function in matlab .the x are all vectors and i would like to solve this using the genetic algori...

6 years ago | 2 answers | 0

2

answers

Question


Why I am i getting a negative value for the spread when i restricted it have positive values.?I would be glad if anyone could help.
clear all clc IN=[-0.04844752 0.041968141 -0.044564664; -0.304020248 0.131284505 0.472041681; -0.074829705 -0....

6 years ago | 2 answers | 0

2

answers

Question


can a multi objective genetic algorithm be used to solve a set of linear objectives and linear constraints,
I would like to minimize a set of linear objectives subject to linear equalities.is the genetic algorithm the right approach to ...

6 years ago | 1 answer | 0

1

answer

Question


what optimisation function is appropriate to solve a set of linear objectives subject to inequality constriants.
I have 12 linear objective functions and 22 linear constraints. what is the appropriate solver to handle this problem?

6 years ago | 1 answer | 0

1

answer

Question


I need help to to make this work .I am using the quadprog function but i keep getting the problem is non convex.I would be glad if anyone could help.
function [x,IC,SST,SSR,SSE]=Constrained_FLSR_1(h) D=[-0.04844752 0.041968141 -0.044564664 -0.050000004 -0.324...

6 years ago | 1 answer | 0

1

answer

Question


In trying to understand how the Genetic algorithm works,can anyone explain why the algorithm didn't quit after getting the smallest maximum constraint violation say the first and third generation?
options = optimoptions('ga','PlotFcn',{@gaplotbestf,@gaplotmaxconstr},'Display','iter'); Rerun the ga solver. [x,fval] = ga(...

6 years ago | 0 answers | 0

0

answers

Question


I am trying my hands on examples on genetic algorithms in MATHWORK CENTRAL. I would like someone to explain to me what the empty matix means .I saw it was defined for for equality contraints. But why are there four
function [c, ceq] = simple_constraint(x) c = [1.5 + x(1)*x(2) + x(1) - x(2);... -x(1)*x(2) + 10]; ceq = []; by ...

6 years ago | 1 answer | 0

1

answer

Question


How do i do i use the log transformation to transform both the x,y values containing negative and positive values .
I tried using the semilogy but it doesn't seem to work.is it because the x and y values are both negative and both. x=[-0.09920...

6 years ago | 0 answers | 0

0

answers

Question


I have a system of nonlinear equations an i would like to use a genetic algorithm to solve it .How do i go about it.
function F= TRIAL3(x,V1,W1,W,w,z,Z1,Z,p,p1,q1,q,c1,V,v,j) a=[x(1);x(2);x(3);x(4);x(5)]; r=[x(6);x(7);x(8);x(9);x(10)]; ...

6 years ago | 1 answer | 0

1

answer

1

answer

Question


Hello.I am trying to use the fsolve in matlb. In order to that i created a function that gives me an error of not enough input argument . apart from x,the remaining input arguments are constant matrices
function F = CS(x,V,W,Z,center,left,right,j,v,w,z,R,L) F = [ ((v*V) \ (v*(center-(W*r + Z*s)) + v*((left- (W*r + Z*s)*b - j*...

6 years ago | 1 answer | 0

1

answer