Community Profile

# nlm

Last seen: 6 days ago Active since 2018

#### Content Feed

View by

Question

How to take mean of 3D matrices without storing them
Hi, I have 31 matrixes of 18000 by 36000 double type. The memory doesn't allow me to store more than 3 matrixes at once to tak...

12 months ago | 2 answers | 0

### 2

Question

Batch scheduler or pick up the run after wall time expires or checkpoints
Hi, I have a matlab program which I submitted as sbatch file. However, the walltime for matlab license on supercomputer to whi...

1 year ago | 1 answer | 0

### 1

Question

Fast code to open and write separate 366 .bin files for each (row,col)
I am trying to speed up my code. I have a 18000*36000*366 matrix. I split the matrix into 18 bands of each 1000* 36000 .bin file...

1 year ago | 1 answer | 0

### 1

Question

how to find a window of days in a time series data with values in a range
I have a time series data from which I need to find a window of days where the start value is >0.4 and end value is <0.2. Howeve...

2 years ago | 1 answer | 0

### 1

Question

Assign moving window average if 50 % of the values in the window are within a threshold
Hi, While doing a moving window average, if the 50 % values in that window are less than a certain threshold, how can one assi...

2 years ago | 1 answer | 0

### 1

Question

moving window chi square test for outlier removal
Hi, I'm trying to apply a chi-square test with a moving window 10 on a vector. I want ot replace the outliers with NaN within ...

2 years ago | 1 answer | 0

### 1

Question

moving average considering the first and end data points without changing window size, cyclic window
How can you calculate moving average, where for edges, it uses the first and last data (cyclic) points instead of decreasing the...

2 years ago | 1 answer | 0

### 1

Question

can someone suggest to make this code faster
Can someone suggest me a trick to make this code faster. "all_DOY" = 1000*15000*23 ; %(i,j,k) such that k dimension is the day...

2 years ago | 1 answer | 0

### 1

How can I calculate a centered moving average with window size 7?
Hi Kemal, did you find solution to your problem ? If so can you share ?

2 years ago | 0

Question

Average of two consecutive rows and importantly average of first and last row.
Please find the picture attached for better understanding I have a structure with multiple columns and rows. I want to create ...

2 years ago | 1 answer | 0

### 1

Question

match and merge data between multiple structures and single structures
Hi, I have one strcuture (A) which needs to be matched (if meets certain criteria) with a field "new" (which is 30000*15) from...

3 years ago | 0 answers | 0

### 0

Question

Merge same field of 36 structures
I want to merge same field (e.g., long which is a matrix) from 36 structures of lenghth (266) which has 20 fields for each struc...

3 years ago | 1 answer | 0

### 1

Question

How place the tick at the mid value of specific color range and uniform color bar across different ranges of data
Hi, I want to place the tick at the mid value of the specific color range, for example, for red : 0-10, place the tick at 5,...

3 years ago | 2 answers | 0

### 2

Question

Replace based on conditions, What is wrong in my code ?
Hi, Can anyone else me what is wrong in this line of code, Tried this : for ii = 1: size(data,1) data(ii).count = zer...

3 years ago | 0 answers | 0

### 0

Question

count the values based on ID and create a new matrix
Input: LAT LON VALUE 12.4 91.4 4 31.4 45.6 1 45.9 91.5 2 ...

3 years ago | 1 answer | 0

### 1

Question

Find elements from a matrix and sum variables from other matrix
Hi, I have a matrix of lat long (406, 964) say A, and B. I also have a huge matrix of length 36000 and 3 variables (lat, long,...

3 years ago | 2 answers | 0

### 2

Question

Scam Matlab Help Chat
I had popup chat from matlab works, while looking for answers on my activity feed. Chat for 5 mins and receive \$10 Amazon gift c...

3 years ago | 1 answer | 0

### 1

Question

Help ! Average half hourly into 3 hours and save the file as mat with filename reflecting the startTime and Endtime
Hi, I'm reading half hourly HDF5 files, on which I run some analysis. I want to now average these processed half hourly into...

3 years ago | 0 answers | 0

### 0

Question

Concatenate fields of two different structures based on two conditions results in Index exceeds array bound help!
I have two structures with Struct1(1 by 40) fields Date and Time (scalars), and Struct2(1 by 100) fields Date1 and Time1 which a...

3 years ago | 0 answers | 0

### 0

Question

Average based on logical mask and condition
I want to average the data according to unique ID and a logical mask. I have 3 km logical mask which will average into perfect 3...

3 years ago | 1 answer | 0

### 1

Question

How to import data from another structure based on two conditions
I have two structures. I want to import data from Struct1 into Struct2 based on two conditions Date and Time (which are common i...

3 years ago | 0 answers | 0

### 0

Question

how to interp2 with nan data
I have [X; Y; Z] = [1,2,3,4,5 ; 2,3,4,5,6 ; 0.2, NaN, 0.1, NaN, NaN] which needs to be interpolated to [XI; YI] which are [4,5,6...

3 years ago | 1 answer | 0

### 1

Question

Pairwise comparison between four vectors
I have 2 pairs of values i.e., 4 vectors, where two vectors within pair have equal length. Vector 1 = [0,1,2,5,6,8], Vector 2=[0...

3 years ago | 1 answer | 1

### 1

Question

read and divide HDF5 data into chunks
I have 1000 + HDF5 files of 1800 by 3600 matrix. I want to divide the 1800 * 3600 matrices into 4 chunks and store with a ID int...

3 years ago | 1 answer | 0

### 1

Question

Out of Memory Interactive job on Linux
I'm new to linux and trying to run the Matlab code (that I tested on my personal PC) on supercomputer using interactive job. It ...

3 years ago | 0 answers | 0