Community Profile

photo

GEORGIOS BEKAS


Last seen: 6 maanden ago Active since 2017

Engineering Optimization specialist

Statistics

All
  • CUP Challenge Master
  • Commenter
  • Thankful Level 3
  • Promoter
  • Solver

View badges

Content Feed

View by

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

8 maanden ago | 0 answers | 0

0

answers

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

bijna 2 jaar ago | 0 answers | 0

0

answers

Question


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)]; ...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 3 jaar ago | 0 answers | 0

0

answers

Question


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

ongeveer 3 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 4 jaar ago | 0 answers | 0

0

answers

Question


Error in creating a function
What's wrong in the following expression? ObjectiveFunction = @x() sim(net, x')

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 0 answers | 1

0

answers

Answered
5th 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 ...

meer dan 4 jaar 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...

meer dan 4 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 5 jaar ago | 0 answers | 0

0

answers

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 1 answer | 0

1

answer

Load more