dimitris


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • 3 Month Streak
  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


Genetic algorithm initial popuplation
I use GA to minimize an objective function with 20 variables. I noticed that ga always produces initial population with small di...

11 years ago | 2 answers | 0

2

answers

Question


Sensitivity of a timer
I use a timer block and observed that if the time values are too close, they do not appear in the scope. For example if time is ...

11 years ago | 0 answers | 0

0

answers

Question


Speeding up exhaustive search
I need to find the global minimum of a function using exhaustive search. I have 10 function variables x1,x2,x3,...,x10 ∈ [0,10]...

12 years ago | 2 answers | 0

2

answers

Answered
I want to determine whether the user wishes to work with their angles in degrees or radians
type= input('Enter D to work angle in degrees or R for radians') V= input('Enter velocity '); a= input('Enter angle ')...

12 years ago | 0

Answered
Warnings and error produced by simulink
The solution is to disable the zero crossing detection for the whole system.

12 years ago | 0

| accepted

Answered
variables in Simulink Workspace
Simulink resolves variables from base workspace, so if you use simout from a function it wont be able to 'see' it because functi...

12 years ago | 0

Question


Warnings and error produced by simulink
I try to optimize a measurement from simulink model using the ga function. The optimization runs well for some generations excep...

12 years ago | 2 answers | 0

2

answers

Question


About termination of genetic algorithm
I have set the options of the ga as shown: options=gaoptimset(options,'Generations',100); The algorithm terminates after...

12 years ago | 2 answers | 0

2

answers

Question


How to measure the phase difference between two signals in simulink?
I have two signals in my circuit and i would like to measure the phase difference between them. Is there a block i could use? If...

12 years ago | 3 answers | 0

3

answers

Question


How to hide warnings ?
I do not want warnings to appear when i execute my code but i do not want to turn them off as well. Is this possible?

12 years ago | 3 answers | 0

3

answers

Answered
Problem
You pass an argument of type "char" to function tc_cmdq and this function does not take input of this type.

12 years ago | 0

Question


Genetic algorithm: child out of constraints
I have set the linear inequality constraints of the GA in a way that each gene is smaller than the next one, eg x1<x2<x3...<xn b...

12 years ago | 1 answer | 0

1

answer

Question


Time values must be monotonically increasing error
In my simulink model i use a from workspace block to read some time values and alhough those values are increasing i get the err...

12 years ago | 1 answer | 1

1

answer

Answered
Problem with sim command
If i understood what you mean, your problem is that for some values you get an error. In this case you can set your constraints ...

12 years ago | 0

Question


From workspace block error
I run the following code : wave.time=t; wave.signals.values = val; wave.signals.dimensions=1; where t and val are vectors. I...

12 years ago | 1 answer | 1

1

answer

Question


Simulink and linux
When i try to open a simulink model i get the error: MATLAB:dispatcher:loadLibrary Can't load ~/Matlab2011bu/bin/glnxa64/libm...

12 years ago | 1 answer | 1

1

answer

Question


Problem with gaoptimset in unix
I have a problem runing my code in unix although the same code is running in windows. The error i get is the following: "Undefin...

12 years ago | 1 answer | 0

1

answer

Question


Problem with matlab function block.
I use a matlab function block in my simulink model and when i read a variable(for example N) from a file i get an error, but if ...

13 years ago | 2 answers | 0

2

answers

Question


What does '@' mean in a matlab expression?
For example [x,y] = foo1(@(x) foo2(x),z); Thank you in advance for your help.

13 years ago | 1 answer | 2

1

answer

Question


Steady state?
I am building a circuit with simulink and i was wondering if the results i take are in steady state. Are the elements in simulin...

13 years ago | 1 answer | 0

1

answer

Question


How i choose the best solver ?
How i choose the best solver for my simulink model and why i get different results if i use a different solver?

13 years ago | 1 answer | 0

1

answer

Question


mxArray problem
In a simulink model I use a matlab function block in which i open a file(fopen), read some numbers(fscanf) and put them in an ar...

13 years ago | 3 answers | 0

3

answers