Question

How multidimensional gpu arrays are stored on GPU and how are they proced when functions are invoked?

Dear All, Could you please help me to better understand how data is passed in GPU when using multidimensional arrays from theor...

6 months ago | 0 answers | 0

Question

Is there a way to speed up for loop when grouped with GPU?

Hello, At the moment for loop is bottle neck in my code. I know that GPU does not work with indexing and due to for loop all c...

1 year ago | 0 answers | 0

Question

How to pass data divided to two GPU for parallel calculations?

Hello, I have a group of large *.mat files that are arrays of size Nx130. I would like to load this data and sent it to two GPU...

1 year ago | 0 answers | 0

Question

How to speed up matrix update zeros by using previous value?

Hello, I am looking for the way to update my matrix zero values by using previous value. For example if c matrix is: 0 1 5 2 3...

2 years ago | 1 answer | 0

Question

How to readtable filtering columns and rows?

Hello, Maybe someone knows if there is a way to readtable not only defining the column names but defining rows values as well? ...

2 years ago | 1 answer | 0

Question

How to convert time in nanosecond to numeric value in order to be able to compare these timeseries?

Hello, I have the number of *.csv files that are same structure (same column number), but row numbers are different. I use read...

2 years ago | 1 answer | 0

Question

How to split time in to hours, minutes and nanoseconds

Hello, I would like to split my timserias in order to convert them to to nanoseconds, what I have so far is: t = ('16:45:00....

2 years ago | 2 answers | 0

Question

Speed up for loops for arrays

Hello, Maybe someone could help me to speedup this type of for loop? I did try parfor, I did try to think of way using GPU, but...

2 years ago | 1 answer | 0

Question

How could i convert timestamp to nanosecond and what would be the way to get data in nanoseconds for given period?

Hello, Maybe someone could bring me on the right track. How could I convert the given time stamp to nanoseconds? 20180429,...

2 years ago | 1 answer | 0

Question

Why multiple GPUs slower than one GPU?

Dear All, On my machine there are 2 GPUs. Why moving data to multiple GPUs in my case is about 5x slower, than working with j...

2 years ago | 0 answers | 0

Question

Use multiple GPUs for functions

Dear All, I had my previous question, because it was not clear, now I tried to simplify it. At my disposal there are two GPU de...

2 years ago | 1 answer | 0

Question

Using multiple GPU for functions

Dear All, I have two GPU devices (GeForce GTX 1070 Ti and GeForce GTX 1060 6GB) and I have code that works great with one GPU...

2 years ago | 0 answers | 0

Question

Divide array in to smaller 3D array

Hello, Maybe someone could help me with the following situation. Lets say I have multiple *.mat files, that contains of arrays ...

2 years ago | 0 answers | 0

Question

Use only defined 4D array elements

Hello to All, There is 4D array varcov (NxNxZxL), I need to make other 4D array with the following values: varcov1=[varcov...

2 years ago | 1 answer | 0

Question

Calculate lsqr of two arrays on GPU

Hello, Is there way to calculate lsqr of two arrays, I mean for each columns of arrays respectively. If a (NxM) and b(NxM) ar...

2 years ago | 1 answer | 0

Question

How to speedup left divide on GPU?

Hello, I have two same size 4D gpuArrays f(NxMxLxK) and f1(NxMxLxK) and I need to left divide each column, for that this code...

2 years ago | 0 answers | 0

Question

How to left divide 4D arrays

If I have two 2D gpuArrays f(NxM) and f1(NxM) of same size, then I can left divide them like this: beta=arrayfun(@(n) f(:,n...

2 years ago | 1 answer | 0

Question

Repeat 3D matrix in 4D

Hello, I suppose it is not hard, but I need to repeat 3D matrix a (NxMxL) in to 4D b (NxMxMxL). What I need is to repeat each...

2 years ago | 1 answer | 0

Question

How to divide array, that result would be like dividing columns?

Hello, Can somebody give a little explanation about matrix division? For example there are two arrays a (100x5) and b (100x5). ...

2 years ago | 1 answer | 0

Question

Multiply two 3D arrays that result would be 4D

Hello to All, I am trying to work and understand 4D arrays. Lets say I have two 3D gpuArrays a(100x5x5) and b(5x5x5). I would...

2 years ago | 2 answers | 0

Question

What is the difference when multiplying and dividing 3D gpuArrays compared to 2D?

Hello, I am trying to do some calculations on 3D gpuArrays. Firstly I made my code for 2D arrays, the I did try tomove to 3D....

2 years ago | 0 answers | 0

Question

Multiply each 3D gpuArray page column with each other

Hello to All, Can anyone give advice on the following matter? Lets say I have 3D gpuArray a (XxYxZ) with random numbers, I need...

2 years ago | 1 answer | 0

Question

Count conservative occurrences of zeros and if zero appeared for defined number of times it should be changed.

Hello, There is an array A size (NxM), each column represents when a signal was created. I need to close that signal if certa...

2 years ago | 1 answer | 0

Question

What would be the way to remove duplicates for defined numbers in array?

Hello to All, I am trying to solve the following situation. There is array IN (NxM), size my vary. My input is IN= ...

2 years ago | 1 answer | 0

Question

How to calculate the number value did appear continuously in column?

Hello Everyone, I have the following code that works fine with vectors. However I can’t figure out how to do the same on arra...

2 years ago | 0 answers | 0

Question

How to use firs value from array column when threshold and others change to zero, moreover if zero repeated for number of times change that element value?

Hello Everyone, I have the following code, which was provided by @Stephen Cobeldick, that converts array D D= -2 2 3 ...

2 years ago | 0 answers | 0

Question

How to optimize code for GPU and remove for loops?

Hello, I am trying to optimize this code for GPU in order to speed up calculations. Here is small data sample, but mine data i...

2 years ago | 0 answers | 0

Question

What would be the way to use one 3D array as index for other 3D array?

Hello, I have two 3D arrays a (3x5x4) and o (1x5x4). What I would like to achieve is to use o array as index for a. The struggl...

2 years ago | 1 answer | 0

Question

How to create 3D array out of 2D, with one row step without using for loop?

Hello, Lets say I have 2D array x(1100x5), n1=1100,d=501 and w=500. I can create 3D array, with one row step using for loop, ...

2 years ago | 1 answer | 0

Question

How to change cell arrays to 3D arrays in order to speed up calculations?

Hello, For example I have two cell arrays x {10}(20x5) non integer values and k {10}(5x1) integer values 1:5, and use one cell ...

2 years ago | 1 answer | 0