GEORGIOS BEKAS
Followers: 0 Following: 0
Engineering Optimization specialist
Statistics
RANK
17,724
of 295,527
REPUTATION
2
CONTRIBUTIONS
45 Questions
2 Answers
ANSWER ACCEPTANCE
46.67%
VOTES RECEIVED
2
RANK
of 20,242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Genetic algorithm objective function
I want to create an objective function that will be the sum of a series of 100 variables that will have a range of values betwee...
2 years ago | 1 answer | 0
1
answerQuestion
Turning a sequence of operations into a function
I have a sequence of operations that attempts to calculate, whether there is an increase or a decrease in the next step, in comp...
3 years ago | 1 answer | 0
1
answerQuestion
Undefined function or method 'mrdivide'
I wrote the following code which is automatically generated by the ntstool of MATLAB for the training of a NARX neural network. ...
4 years ago | 0 answers | 0
0
answersQuestion
Indexing problem. I want to insert a vector into another vector with a loop.
I have a matrix A, whose initial form is as follows: A = [5 4 3] By using the following expression: A = [A,zeros(1, 12)]; ...
4 years ago | 1 answer | 0
1
answerQuestion
Interpolation problem. How can I generalize for a bigger number of intervals?
Imagine that I want to express in a way that I will describe below, a number that falls into a possible range of values. E.g. t...
4 years ago | 0 answers | 0
0
answersQuestion
Interpolation code. How can I deal with a strange problem.
Imagine that I want to express in a way that I will describe below, a number that falls into a possible range of values. E.g. t...
4 years ago | 1 answer | 0
1
answerQuestion
Creating two row matrices out of any initial matrix that would contain each element inside the initial matrix and the one in the previous column.
I am trying to create two row matices out of an initial matrix. The two row matrices need to contain each element inside the ini...
5 years ago | 0 answers | 0
0
answersQuestion
Problem with my code?
I wrote the following code that is based on reading two csv files that I include. clc clear a = dlmread ('gb.csv') b = d...
5 years ago | 2 answers | 0
2
answersQuestion
Reshaping an 1x365 matrix with daily observations within a year
I have a matrix with observations and its size is 1x365. It has to do with daily observations starting from the day Sunday, whic...
5 years ago | 1 answer | 0
1
answerQuestion
Can you find the error in this code that aims to sum the digits of a string?
I wrote this code in order to sum the digits of any string, and to also create a loop that stops the summing process when the le...
6 years ago | 2 answers | 0
2
answersQuestion
Reading a dat file; there is a bug
I have written the following code in order for MATLAB to read a dat file that I attach. There is a bug in line 20, despite the ...
6 years ago | 1 answer | 0
1
answerQuestion
Logic behind triple loops
Hi I am new in triple loops and trying to find a way to automate the generation of these numbers: 11000 11001 21001 ...
6 years ago | 0 answers | 0
0
answersQuestion
BAYESIAN OPTIMIZATION OF A NEURAL NETWORK
I wrote the following code to optimize the architecture of a neural network via Bayesian optimization. What's wrong with it? ...
6 years ago | 0 answers | 0
0
answersQuestion
Error in creating a function
What's wrong in the following expression? ObjectiveFunction = @x() sim(net, x')
6 years ago | 1 answer | 0
1
answerQuestion
USING A NEURAL NETWORK AS AN OBJECTIVE FUNCTION INSIDE A GENETIC ALGORITHM
I trained a neural network with the name 'net', after that I am using a genetic algorithm to do some optimization. After using ...
6 years ago | 0 answers | 1
0
answers5th root with Newton-Raphson code
If n is the number whose 5th root has to be calculated: function f = fifth_root(n) xold=10; for i = 1:100 ...
6 years ago | 0
| accepted
Question
5th root with Newton-Raphson code
This is a code I have created to calculate numerically the 5th root. Something is wrong. x = 0.05; x_old = 500; iter...
6 years ago | 2 answers | 0
2
answersQuestion
(Anti)diagonal automation
Counting from the top right element to the the bottom left element of an indicative 5x5 matrix, is there a quick way to automate...
7 years ago | 1 answer | 0
1
answerQuestion
How to remove non consecutive values from a vector?
I have the following vector that represents how many times consecutive values appear in a row by using the following code: ...
7 years ago | 1 answer | 0
1
answerQuestion
Correct use of regexp
If x is the following string, I want to add a zero to the end of each sequence of zeros. x='0110' y=regexp(x,'[0+]','[0+...
7 years ago | 2 answers | 0
2
answersQuestion
How can the code memorize the generated vector?
Is there a quick way to memorize the generated out matrix in each iteration? in1=[1 8 12] in2=[4 5 9] out=[] coun...
7 years ago | 1 answer | 0
1
answerQuestion
Shifting letters by two positions. What's wrong with the code?
I am trying to shift each letter of a given word by two positions. alphab='abcdefghijklmnopqrstwxyz' inStr = 'doug'; ...
7 years ago | 2 answers | 0
2
answersQuestion
What wrong with the indexing code?
If I want to fill in a matrix, of which I have its indices without a for loop, how could I do it? Suppose that the (row(i),col(...
7 years ago | 2 answers | 0
2
answersQuestion
Correct use of arrayfun
Suppose that I have a matrix a, and I want to do an operation on it, e.g. subtracting the mean of its columns from each element ...
7 years ago | 1 answer | 0
1
answerQuestion
Using regexp to identify matches
I am trying to identify matches using the command regexp. I am trying to isolate either the first subset of a string (e.g. 4002...
7 years ago | 0 answers | 0
0
answersQuestion
How to join the subelements of a cell?
I am trying to express all sentences in one cell with string subelements. s='I am George. John is there? Ana is around! Are ...
7 years ago | 2 answers | 0
2
answersQuestion
Sum of matrix elements after using regexp
I wrote the following code to sum all number after locating numeric values from a string by using regexp. s='2 groupd 40cel...
7 years ago | 1 answer | 0
1
answerQuestion
What is wrong with the code?
I am trying to find the logest subsequence of 1s in a string. I am doing something wrong. s='01010101110001011100010111000...
7 years ago | 2 answers | 0
2
answersQuestion
Proper use of regexprep
I want to remove the consonants of a string, using regexprep. How can I modify the initial string s1 with a string s2? s...
7 years ago | 2 answers | 0
2
answersQuestion
Locate entire word in cell given a specific pattern
I am trying to locate an entire word in a cell, given a specific pattern. I am giving the following example: stringList ...
7 years ago | 1 answer | 0