Community Profile

photo

Thor


Active since 2013

Statistics

  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Question


How can I return the last value of a vector?
Dear all, is there a command in Matlab, which returns the last value of a vector? In R is this command called "tail". For exa...

11 years ago | 2 answers | 1

2

answers

Question


How can I delete a certain number of rows in a vector?
Dear all, I have a 2505*1 vector with only 1 and 0. The number 1 occurs 178 times. I want to delete the first 158 rows with an ...

11 years ago | 2 answers | 0

2

answers

Question


How to compare two date vectors?
Dear all, I have two date vectors, which I converted with datenum. They had have the string format dd.mm.yyyy. The one vector c...

11 years ago | 1 answer | 1

1

answer

Question


How to convert the format of a date?
Dear all, I have a vector with different dates. I converted the different dates with datenum. The format was dd:mm:yyyy mm:hh:s...

11 years ago | 1 answer | 0

1

answer

Question


I want to find different values in different matrices at the same date???
Dear all, I have again a problem with the date. I have two different matrices with different dimensions. In the matrix jump is ...

11 years ago | 1 answer | 0

1

answer

Question


How can I add a date vector for the x-axis of a normal plot?
Dear all, I have a 3000*2 matrix. In column 1 is the date, but the date was transformed with the command datenum, and in the ...

11 years ago | 1 answer | 0

1

answer

Question


Delete a cell by a criterion???
Dear all, I have a cell array of 31x12x9 and in every cell is a 288x3 structure. I want to delete every cell wich has not the...

11 years ago | 3 answers | 0

3

answers

Question


How to add a horizontal line in a bar plot????
Dear all, i use the command bar for a plot. I want to insert a horizontal line in a bar plot at y = 30. How can I do that? Th...

11 years ago | 2 answers | 0

2

answers

Question


Sum up parts of a vector?
Dear all, I have a 105120*1 vector and I want to sum up in steps of 288. So I want to have the sum of the first 288 elements,...

11 years ago | 2 answers | 0

2

answers

Question


Delete a cell in an array chosen by a criterion?
Dear all, I have a cell-array of 9*365. In each cell is a vector of 3*365. First I want to delete every 6th and 7th cell in eac...

11 years ago | 2 answers | 0

2

answers

Question


Decompose a matrix into smaller matrices by the date
Dear all, I have a matrix with the dimension 946836x3 and it is a cell. The first column is the date (dd.mm.yyyy 'HH:MM:SS), ...

11 years ago | 3 answers | 0

3

answers

Question


How to filter data?
Dear all, I want to filter a matrix by its date vector. The datevector has the format: dd.mm.yyyy HH:MM:SS. I want to sum up ...

11 years ago | 1 answer | 0

1

answer

Question


Read a csv file???
Dear all, in the first row of the matrix are *6 variable names (time, open, high, low, close, volume)*. The format of the data ...

11 years ago | 1 answer | 0

1

answer