Community Profile

photo

Eli Dim


Actif depuis 2015

Statistiques

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

Question


Finding the min/max number of consecutive elements in an array
I have an example vector (attached). I need to find the min and max number of consecutive elements in this vector. How can I do ...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Plotting hourly values using datetick
I have a vector of size (1x8424) which has values for the first 8424 hours of year 2014. I want to plot this vector (x-axis I wi...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Call both outputs of a function in a for loop
I have a function VirtualPPDispatch which has one input and 2 outputs: function [gencost, sortedNames] = VirtualPPDi...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Re-writing a loop including strcat in order to reduce computational time
I have the following loop: NameMatrix = []; for i = 1:rows NameMatrix = [NameMatrix; {strcat(char(64+i),...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Read in a plain/text file in Matlab
I have a plain/text file which contains the following information: "Dukovany","Temelin","Prunerov","Pocerady","Chvaletic...

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


Replace zeros with consecutive numbers in a vectors
I have a large column vector which looks like this: A=[1;2;3;4;5;1;5;6;..................;2305;0;0;0;0] I want to replace ...

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


How to avoid a numerical problem in a for loop
I have two input files T and dispatch_seq. My code looks at T and sees how many rows of dispatch_seq should be taken. The result...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Delete a row of a cell containing a certain number
I have a large cell array (a part of it I attached). This cell array contains other cells. My problem occurs at rows with conten...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Convert a cell column of strings to doubles
I have a cell column of strings which looks like the attached file. How can I convert the column to double-precision values?

plus de 8 ans il y a | 3 réponses | 0

3

réponses

Question


Vertically Concatenate Cells with Same Number of Columns
I have a column of cells (column_data.png) with different number of rows but same number of columns. The cells contain numbers o...

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


Rounding Vector Entries with zeros after the decimal place to integers
I have a vector T (attached file) which is an input for a function. Row 44 is a problem for me (112.0000). How can I do a loop w...

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


Appending one cell array to non-zero cells of another
I have a cell array FINAL_OUTPUT < 50x1 cell > and another one called indexing as shown in the attached file. How can I append t...

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


Outputting cumulative sum for Cell array with strings and numbers
Cell1={ 'A1' 5 'A2' 1 'A3' 2 'A4' 4 'A5' 1 'B1' 2 'B2' 6 'B3' 17 'B4' 8 'B5' 3 'C1' 7 'C2' 8 'D1' 1 . . . }; ...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Adding rows up to a certain value (cell arrays)
I have a cell (curCell_res) which has two columns (column 1 is name and column 2 is the value). I need 230 from column2. This ...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Insert values of arrays in another cell array
I have the following problem. In the attached picture I three columns of cells. My goal is to append the 2nd and 3rd column insi...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Retrieving indexing of a cell
I have the variable NameMatrix < nx5 cell > where the number of columns(5) always stays the same and the number of rows(n) cha...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Split a matrix in rows according to a vector
Hello, If I have a matrix that looks like this: A = [ [1, 0, 0, 5, 10, 5, 100, 300]; [1, 0, 0, 5, 10, 5, 100, 400];...

plus de 8 ans il y a | 2 réponses | 0

2

réponses