photo

Tiina


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


match index of arrays
Hi, I have a problem with matching and indexing. The problem was raised in this forum earlier and was solved. This is how it wa...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find subgroup min or max
group_id=[1 1 1 2 2 3 3 3]'; B=[ 5 6 7 4 1 2 2 3]'; output: C=[ 5 0 0 0 1 2 2 0]';

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to sum by 2 indeces?
A=[1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 3]'; b=[2 3 2]'; c=[9 8 7 6 4 3 4 4 4 5 3 5 1 2 3 4 5 6 7]'; out=[17 13 7 12 1...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to sum by 3d array?
Hi, I have the following sample columns structured in a 3D array of 2 pages (:,:,1) and (:,:,2). I want to produce out1 as a...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to compare row values in a column ?
Hi, How can I compare whether an element of a vector is greater, or less than the previous one and if equal check one before th...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


unique and min by index
Hi, if I have A=[1 1 1 2 2 3 3 3] as unique values and B=[ 5 6 7 4 1 2 2 3]. I want to find the min and difference as [5 5 5 1...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


replace elements in columns of a matrix
Hi, I have columns block (which is a unique function output) A and B as below. I want to replace one element from column B in A...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


matrix operaions sums multiplications
If I have 2 matrices say B size (100, 2) A size (100, n) How to conduct the following operation? B(1,1) * A(:,1) + ...

fast 10 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


arrays
I ve got the following issue again with unequal arrays (unequal days and unequal time intervals within the days) and want to a...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


remove rows by specific numbers
I want to remove entire rows if one columns has a range of values. With loops I am running out of memory so maybe some other sol...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


merge date time
How can I merge the two columns together (into one) and generate a date time number for data like 20101229 154907 201012...

fast 13 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
textscan fopen
strfind() .... did the trick, thanks for your input as well

fast 13 Jahre vor | 0

Frage


textscan fopen
I have a file to open which looks as follows row1: '#CIR,Date[L],Time[L],Type,Clr Dir.' then a list of rows 'AXY.P,20...

fast 13 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


unequal arrays and basic calculations
I want to reshape vector num to an averages vector as Day time num 20050103 34200000 10 20050103 34205000 14 20050103...

fast 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


time stamps (string to number)
Hi guys, How could I convert time stamps to a num or double, this is the format I have: '09:35:00.000' '09:36:00.000'...

fast 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


matching vectors of different length
Hi I kindly need some guidance for a problem as the one below. I am using a very large data set and perhaps the following des...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


replace elements of a vector
Hi, Is there a possibility to replace the zeros in A by the last non zero observation such as this case: A=[1 0 2 2 8 0 0...

fast 13 Jahre vor | 4 Antworten | 2

4

Antworten