Feeds
提问
Merge vector and matrix with duplicated common values
I have a large size of matrix and here is the sample. I have an another vector,B. A = 1 1 2 3 … 1 2 3 5 1 3 4 2 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
why innerjoin does not work in parfor?
While trying to use parfor, I am trying to find an error. I found that using a innerjoin (line 10-12 below) makes a problem. It ...
7 years 前 | 2 个回答 | 0
2
个回答提问
why parpool(n) does not work?
I am using most recent Matlab version, Matlab R2018a. I am trying to use parfor. When I first use parpool(4) it does not work an...
7 years 前 | 1 个回答 | 0
1
个回答提问
resample data based on a particular variable
I have a large dataset as below. From the data, I want to randomly sample based on 'id' produce the same size data. Since the da...
7 years 前 | 1 个回答 | 0
1
个回答提问
subtract rows under a condition
I am trying to create a data by subtracting rows that meet a condition. A sample of my data is this dataA = id value ...
7 years 前 | 2 个回答 | 0
2
个回答提问
group sum with matrix
With below matrix, I would like to have a sum of the third column and a sum of the fourth column by groups that are the combinat...
7 years 前 | 1 个回答 | 0
1
个回答提问
find max by groups, subtract the max from values if a certain condition is satisfied
I have a matrix as below (add column name for the convenience here). With the matrix, if max of value for each group is larger t...
7 years 前 | 1 个回答 | 0
1
个回答提问
Add column of group sum to the right of matrix
I have a large matrix and want to add group sum to the right. I would like to create group sum based on a first and second colum...
7 years 前 | 1 个回答 | 0
1
个回答提问
Divide dataset into N parts, remove vectors (or Matrix) with NaN and store all subdata into one list or array
I recently switched to Matlab from R so, I am a beginner of Matlab. I have a very large dataset and below is the sample, MM2, ...
7 years 前 | 1 个回答 | 0
