Community Profile

photo

Inna Pelloso


Last seen: alrededor de 1 mes hace Con actividad desde 2020

Estadísticas

  • Thankful Level 3
  • First Answer

Ver insignias

Content Feed

Ver por

Pregunta


Parse variable in a table
Hi, I have a variable in a table, timestamp, in the following format: 2023-02-24 13:00:00 How can I parse this variable i...

8 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Find position of specific digit in a number
Hi, I have A = [123; 312]. How can I find the position of the digit 3 in each element of A? That is, I want B = [3; 1]. Any he...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Add suffix to name of all variables in workspace
Hi, Is there a way to add a suffix to the end of the names of every variable in the work space? (i.e. i have variables a,b, and...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Shutdown at specific time
Hi, What is the best way to make Matlab shutdown at a specific time? I am running a timer object, tmr, and want to exit matlab...

más de 1 año hace | 3 respuestas | 0

3

respuestas

Pregunta


Have time object start and stop at a specific time
Hi, I have a timer object, tmr: %%my_timer_test tmr = timer ... ( 'Name' , 'm...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Parsing variable in table
Hi, I have a 3x1 table, with one variable, timestamp: timestamp 2021-02-01 09:00:00 2021-02-01 09:01:0...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas

Respondida
Create index between values
Thank you! Really appreciate it.

más de 3 años hace | 0

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas