Community Profile # Inna Pelloso

Last seen: 4 días ago Active since 2020

#### Statistics

• • #### Content Feed

View by

Question

Split matrix into N Equal Parts by rows
Hi, I have an Nx10 matrix. How can I split this into three equally sized matrices (by number of rows) ? Is this something the r...

alrededor de 1 mes ago | 2 answers | 0

### 2

Question

Code Generation for Prediction of Machine Learning Model
Hi, I have auto-generated C++ code using Matlab Coder for a machine learning model, that has a 1x27 double as input. Is there a...

2 meses ago | 1 answer | 0

### 1

Question

Last value of Moving Average in single command
Hi, I have A = rand(10,1). I am calculating an exponential moving average, B = movavg(A,'exponential',2). I only want the last ...

3 meses ago | 1 answer | 0

### 1

Question

Setting up linear optimization problem
Hi, I have two 100x1 arrays, X and Y. How do I set this linear problem to run using the optimization toolbox solver? I want to...

4 meses ago | 2 answers | 1

### 2

Question

fitcensemble optimize hyperparameters without showing plots
Hi, I am fitting an ensemble of learners for classification, and optimizing the hyperparamers (using the 'auto' selection): f...

5 meses ago | 1 answer | 0

### 1

Question

Indexing matrix from array
Hi, I have A = [1:3; 4:6; 7:9] and an index B = [1;0;1]. How can I extract from each column of A the values at are equal to 1 ...

7 meses ago | 1 answer | 0

### 1

Question

Select table data by Date
Hi, I have a table, where the frist column is the date, and second column is a variable. ''2021-Jan-04'' -0.1581 ''2021-Jan...

11 meses ago | 1 answer | 0

### 1

Question

Creating index and replacing values
Hi, I have A = [0 0 1 0 1 0 0], and B = [ "030121", "030221", "030321"] I want to create C = [ "030121", "030121", "030...

más de 1 año ago | 2 answers | 0

### 2

Question

Position of element in a row
Hi, I have a 3 x 2 matrix, A: A = [1 2 3; 3 5 4] How can I find the position of the number 3 in each row? I want to create B...

más de 1 año ago | 1 answer | 0

### 1

Question

Logical Indexing via multiplication
Hi, I have a 3 x 3 matrix, B = [ 1 2 3; 4 5 6; 7 8 9 ] I have a matrix, A = [ 0 1 0 ]'. How can I extract only the middle ...

casi 2 años ago | 2 answers | 0

### 2

Question

Extracting every nth and (n+1)th element
Hi, I have A = (1:101). How can I extract every nth and (n+1)th element? For example, if n = 10, I want reate B = [10, 11, 20...

casi 2 años ago | 1 answer | 0

### 1

Question

Find all occuarances of two numbers together
Hi, I have an array, a = [ 0 -1 1 0 0 -1 1 0] How can I fing all the ocurances of [ 1 0], ie. the index showing when the numbe...

casi 2 años ago | 2 answers | 0

### 2

Create index between values
Thank you! Really appreciate it.

casi 2 años ago | 0

Question

Create index between values
Hi, I have a 5 x 1 array, a = [ 0 1 0 2 0]. (this is a generalization of a larger problem) I want create and index that fills ...

casi 2 años ago | 2 answers | 0