Feeds
質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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...
9年弱 前 | 1 件の回答 | 0
1
回答質問
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...
9年弱 前 | 1 件の回答 | 0
1
回答質問
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...
9年弱 前 | 1 件の回答 | 0
1
回答質問
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...
9年弱 前 | 1 件の回答 | 0
1
回答質問
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...
9年弱 前 | 2 件の回答 | 0
2
回答質問
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) + ...
10年弱 前 | 2 件の回答 | 0
2
回答質問
arrays
I ve got the following issue again with unequal arrays (unequal days and unequal time intervals within the days) and want to a...
13年弱 前 | 1 件の回答 | 0
1
回答質問
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...
13年弱 前 | 1 件の回答 | 0
1
回答質問
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...
13年弱 前 | 3 件の回答 | 0
3
回答質問
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...
13年弱 前 | 4 件の回答 | 0
4
回答質問
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...
13年弱 前 | 3 件の回答 | 0
3
回答質問
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'...
13年弱 前 | 2 件の回答 | 0
2
回答質問
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...
13年弱 前 | 1 件の回答 | 0
1
回答質問
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...
13年弱 前 | 4 件の回答 | 2