Community Profile

photo

nlm


Last seen: bijna 2 jaar ago Active since 2018

Statistics

  • First Answer
  • First Review
  • Thankful Level 3

View badges

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

bijna 3 jaar ago | 2 answers | 0

2

answers

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

ongeveer 3 jaar ago | 1 answer | 0

1

answer

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

ongeveer 3 jaar ago | 1 answer | 0

1

answer

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

bijna 4 jaar ago | 1 answer | 0

1

answer

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

bijna 4 jaar ago | 1 answer | 0

1

answer

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

bijna 4 jaar ago | 1 answer | 0

1

answer

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

ongeveer 4 jaar ago | 1 answer | 0

1

answer

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

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Answered
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 ?

ongeveer 4 jaar 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 ...

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

ongeveer 5 jaar ago | 0 answers | 0

0

answers

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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

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

ongeveer 5 jaar ago | 2 answers | 0

2

answers

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

ongeveer 5 jaar ago | 0 answers | 0

0

answers

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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

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

ongeveer 5 jaar ago | 2 answers | 0

2

answers

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

meer dan 5 jaar ago | 0 answers | 0

0

answers

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

meer dan 5 jaar ago | 1 answer | 0

1

answer

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

meer dan 5 jaar ago | 0 answers | 0

0

answers

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

meer dan 5 jaar ago | 1 answer | 0

1

answer

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

meer dan 5 jaar ago | 0 answers | 0

0

answers

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

meer dan 5 jaar ago | 1 answer | 0

1

answer

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

meer dan 5 jaar ago | 1 answer | 1

1

answer

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

meer dan 5 jaar ago | 1 answer | 0

1

answer

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

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Average matrices based on unique value in structure resulting in a new structure
I have a structure IMERG, with 19 fields. I have a field called "UID" based on which I want to average the fields of Lat and Lon...

meer dan 5 jaar ago | 2 answers | 0

2

answers