# GEORGIOS BEKAS

Engineering Optimization specialist

**Statistics**

RANK**17,724**

of 271,380

REPUTATION**2**

CONTRIBUTIONS

**45** Questions

**2** Answers

ANSWER ACCEPTANCE **
46.67%
**

VOTES RECEIVED**2**

RANK

of 18,300

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

**Content Feed**

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 months ago | 0 answers | 0

### 0

answersQuestion

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

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

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

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

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

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

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

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

3 years ago | 1 answer | 0

### 1

answerSolved

Divisible by 9

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

Solved

Divisible by 3

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

4 years ago

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

4 years ago | 2 answers | 0

### 2

answersSolved

Determine the length of a string of characters

Determine the length of a string of characters

4 years ago

Solved

Accessing elements on the diagonal

Access the diagonal elements of a matrix without 'diag' function

4 years ago

Solved

Sum the 'edge' values of a matrix

Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

4 years ago

Solved

MATCH THE STRINGS (2 CHAR) very easy

Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

4 years ago

Solved

Kaprekar Steps

6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

4 years ago

Solved

Duplicates

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

4 years ago

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

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

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

4 years ago | 0 answers | 0

### 0

answersQuestion

Error in creating a function

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

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

4 years ago | 0 answers | 1

### 0

answersSolved

find the surface area of a cube

given cube side length x, find the surface area of the cube, set it equal to y

4 years ago

Solved

Matlab Basics - Create a row vector

Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

4 years ago

Solved

Create a square matrix of multiples

Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

4 years ago

Solved

CONVERT TAN TO SIN

In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

4 years ago

Solved

Hard limit function

Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

4 years ago

Solved

Replace multiples of 5 with NaN

It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

4 years ago