photo

Eli Dim


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

mehr als 9 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten