Community Profile

photo

Tiina


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 2 answers | 0

2

answers

Question


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

9 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 3 answers | 0

3

answers

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

12 years ago | 0

Question


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

12 years ago | 4 answers | 0

4

answers

Question


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

12 years ago | 3 answers | 0

3

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 4 answers | 2

4

answers