Community Profile pavlos

66 total contributions since 2012

• View details...

Contributions in
View by

Question

Finding the sum of every nth row ( n is not fixed)
Hello, Consider a nx2 matrix M with M= [ 0 4 1 10 1 11 1 20 2 4 2 9 2 8 2 7 . 23 8 23 6 0 8 0 7 1 2 2 5 . . ...

2 months ago | 1 answer | 0

1

Question

Finding the average of every nth row but n is not fixed.
Hello, Consider a nx2 matrix M with M= [ 1 10 1 11 1 20 2 4 2 9 2 8 2 7 . . . ]; How to find the average of the ...

3 months ago | 1 answer | 0

1

Question

Create new matrix through rolling window
Hello, Please help me with the following: Consider a matrix A 365x24. I need to create different matrices that are formed i...

3 months ago | 0 answers | 0

0

Question

Rolling window column selection
Hello, Please help me with the following: Consider a 365x1 matrix A. I need to extract the new column vector as: v1:...

1 year ago | 2 answers | 0

2

Question

Store every n rows of a matrix in cell
Hello, Please help me with the following: Consider a 11808x1 matrix A. I need to take every 96 elements and store them ...

1 year ago | 1 answer | 0

1

Question

Compute distances between an element and all other elements of a matrix
Hello, Please help me with the following: I have a matrix M 150x4. Ι need to calculate the distances (separately, the E...

1 year ago | 1 answer | 0

1

Question

Combine a number of .mlapp files into a single .mlapp file
Hello, Please help me with the following. I have a number of .mlapp files created by App Designer, for example File1.ml...

1 year ago | 1 answer | 0

1

Question

Store matices in .xls files
Hello, Please help me with the following: After an execution of an algorithm, 3 matrices are created and stored in a cel...

2 years ago | 1 answer | 0

1

Question

Read files from a different directory in standalone applications
Hello, Please help me with the following: I create a standalone executable with Application Compiler App (I am using R2017...

2 years ago | 2 answers | 0

2

Question

Generate random negative and positive values with specific average
Hello, Please help me with the following: I would like to create an array (e.g. 1 x 10) with random numbers both negative ...

2 years ago | 2 answers | 1

2

Question

Compare two arrays based on indexes
Hello, Please help me with the following: consider two arrays A=[19;20;19;20;21;22]; B=[1;1;4;4;4;4]; A user s...

2 years ago | 1 answer | 0

1

Question

count the number of hours in a day (multiple values per hour)
Hello, Please help me with the following. Consider a matrix M= [ 0 0 1 2 2 2 2 3 3 ... 23 0 1 1 2 2 ...

2 years ago | 1 answer | 1

1

Question

Sum of elements per hour
Hello, Please help me with the following: consider a matrix M= [ 1-Oct-13 0 2 1-Oct-13 0 6 1-Oct-13 1 2 ...

2 years ago | 2 answers | 0

2

Question

ANFIS: Out-of-sample forecasting
Hello, Please help me with the following: Consider a TrainInput matrix A= [6445.63 6341.97 6554.53 6445.63 66...

2 years ago | 0 answers | 0

0

Question

Read mat files from a custom function
Hello, Please help me with the following: I need to create a function (m.file) that reads automatically mat files with dif...

2 years ago | 1 answer | 0

1

Question

exclude the maximum value per column
Hello, Consider a matrix 365 x 24. How can I exclude the maximum value per column? The final matrix will be 365 x 23 an...

3 years ago | 1 answer | 0

1

Question

Reduce the number of zeros in an array
Hello, Please help me with the following: I study some data that contain arrays with many repeated zeros. I need to re...

3 years ago | 2 answers | 0

2

Question

how to replace a sequence of specific length of NaNs?
Hello, Please help me with the following: Consider vector A=[2.15,NaN,NaN,1.14,NaN,NaN,0.59,NaN,NaN,0.14,NaN,NaN,0,Na...

3 years ago | 1 answer | 0

1

Question

vector missing values filling
Hello, Please help me with the following: Consider a vector Α where its columns refer to hourly values of a variable. V...

3 years ago | 1 answer | 0

1

Question

Seconds counter within a day?
Hello, Please help me with the following: I need to count the seconds from one period to another within a day. For exam...

3 years ago | 1 answer | 0

1

Question

PCA dimension reduction problem
Hello, I have a matrix M 200x80000 and I want to transform it to 200xLower_Dimension. Using the command [coeff,score,laten...

3 years ago | 1 answer | 0

1

Question

Combine values of many elements into a single element
Hello, Consider a matrix A 100x7: 1 NaN 2 0 1 6 5 1 NaN 2 0 1 1 4 .... How can I form a new matrix 100x1 that tak...

4 years ago | 1 answer | 0

1

Question

Incomplete time series: Fill missing dates with NaNs
Hello, I need to fill the missing dates with NaNs. The format of the data is as follows: month-day-year-hour-minute-se...

4 years ago | 1 answer | 0

1

Question

How to remove elements in a vector using length function?
Hello, Consider a vector with length equals 110. I want to remove the elements that are correspond to the indices that are...

4 years ago | 1 answer | 0

1

Question

merge arrays into a new one with a specific element sequence
Hello, Please help me with the following: Consider two arrays, A=[a1;a2;a3] and B=[b1;b2;b3]. How can I get a new array...

4 years ago | 1 answer | 0

1

Question

Form a new matrix based on a distance comparison
Hello, Please help me the following: Consider a threshold value, "thres=0.5" an a 100x10 matrix A=rand(100,10); Take...

5 years ago | 1 answer | 0

1

Question

hierarchical agglomerative clustering: distance matrix
Hello, Please help me with the following: In hierarcical clustering, initially every patern is considered a cluster (singl...

5 years ago | 0 answers | 0

0

Question

xlswrite: write values in different columns
Hello, Please help me with the following: Consider a column vector, say "x", with dimension 1000x1. The values of x ar...

5 years ago | 2 answers | 0

2

Question

Econometrics Toolbox: estimate the probability of different time series predicitions
Hello, Please help me with the following: Consider a time series of length N=100 (100 observations). An ARIMA model is ...

5 years ago | 1 answer | 0

1

Question

curve fitting without the toolbox
Hello, I would like to ask if there are any functions that can I use to fit two series of data without using the Curve Fitt...

5 years ago | 2 answers | 0