Community Profile

photo

Inna Pelloso


Last seen: 17日 前 2020 年からアクティブ

統計

  • Thankful Level 3
  • First Answer

バッジを表示

Content Feed

表示方法

質問


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

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 1 件の回答 | 0

1

回答

質問


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

約1年 前 | 3 件の回答 | 0

3

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 2 件の回答 | 0

2

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

1年以上 前 | 1 件の回答 | 0

1

回答

質問


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

2年弱 前 | 2 件の回答 | 1

2

回答

質問


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

2年弱 前 | 1 件の回答 | 0

1

回答

質問


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

2年弱 前 | 1 件の回答 | 0

1

回答

質問


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

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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

2年以上 前 | 2 件の回答 | 0

2

回答

質問


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

約3年 前 | 1 件の回答 | 0

1

回答

質問


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

約3年 前 | 2 件の回答 | 0

2

回答

質問


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

約3年 前 | 1 件の回答 | 0

1

回答

質問


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

3年以上 前 | 2 件の回答 | 0

2

回答

回答済み
Create index between values
Thank you! Really appreciate it.

3年以上 前 | 0

質問


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

3年以上 前 | 2 件の回答 | 0

2

回答