Question

DCT/DST on the GPU

Hi, There are some smoothing and filtering operations that I need to perform on large arrays that I would like to run on GPUs, ...

2 years ago | 0 answers | 1

Question

stuck help pop-ups

Hi, This is a minor GUI glitch that may also be OS-specific: sometimes the small windows containing function syntax informati...

4 years ago | 3 answers | 2

Answered

qhull version and wrapper

I'd like to bump this ancient question, but now with a new twist: mex wrapper with OpenMP. I need to compute the convexhulls of...

qhull version and wrapper

I'd like to bump this ancient question, but now with a new twist: mex wrapper with OpenMP. I need to compute the convexhulls of...

5 years ago | 0

Question

CUDA fft with prime number lengths

Hi, I just ran into a curious problem with R2015a'a GPU fftn function. For some reason fftn and ifftn refuse to transform 512x...

5 years ago | 1 answer | 0

Question

Implementing batched mldivide on the GPU

Hi, I need to solve A*x=B for size(A)~[10,10,1e5] and size(B)~[10,1,1e5], and it seems like something like pagefun would be the...

7 years ago | 2 answers | 0

Question

BLAS or LAPACK in CUDA kernel

Hi, I need to do x=A\b several hundred million times, along with other trivial arithmetic, for an A that is 4x4 and dense. I wa...

8 years ago | 1 answer | 0

Answered

How to read the indivual elements of a column data?

It's not clear, but it seems like x is a cell array containing strings. If you want to extract the year and the day then you mi...

How to read the indivual elements of a column data?

It's not clear, but it seems like x is a cell array containing strings. If you want to extract the year and the day then you mi...

8 years ago | 1

Answered

Ordering of the columns of an array according to a given line

It seems like you want to sort by the value of the second row. To do this you first find the order you want: [~,ind]=sort(A(...

Ordering of the columns of an array according to a given line

It seems like you want to sort by the value of the second row. To do this you first find the order you want: [~,ind]=sort(A(...

8 years ago | 1

Answered

Linear Optimization: Mixed Constraint Equation Question

This can be done by hand, but assuming this is a template for a more complicated problem, you would need to use Aeq and beq to h...

Linear Optimization: Mixed Constraint Equation Question

This can be done by hand, but assuming this is a template for a more complicated problem, you would need to use Aeq and beq to h...

8 years ago | 0

| accepted

Answered

Reading image files-batch

second line should read: imread(strcat('C:\Users\ell\Desktop\segn\seg_array\', files(1).name));

Reading image files-batch

second line should read: imread(strcat('C:\Users\ell\Desktop\segn\seg_array\', files(1).name));

8 years ago | 0

Question

Complex math on GPU v CPU

I am using complex step derivatives to compute gradients of an otherwise real and analytic function, but I get different answers...

8 years ago | 1 answer | 0

Question

displaying full derivativecheck output

Is there a way to have the derivativecheck option put out the full jacobian in the output? For some complicated functions, the ...

9 years ago | 0 answers | 0

Question

GPU memory fragmentation

I have been running GPU code on 480 and 580 GTX cards in R2011b for a while and I keep hitting memory fragmentation problems. E...

9 years ago | 2 answers | 0

Question

Image processing on the GPU?

I need to run some basic image analysis routines -- mainly Euclidean bwdist and dilate/erode type operations -- on massive quant...

9 years ago | 1 answer | 0

Question

flaky GPU memory issues

We have a 580 GTX with 3Gb of ram running in a linux (Ubuntu Lucid with Natty backported kernel) machine with 2011b and I find m...

9 years ago | 4 answers | 1

Question

CPU functions slower when mixed with GPU code?

I don't have too much experience with GPU coding in Matlab, but I noticed something very odd. When I take a program written ent...

10 years ago | 0 answers | 0

Answered

permute in GPU

The reshape command works very fast. The .' operation needed to shift the dimensions not so much. The routine spends about 20% ...

permute in GPU

The reshape command works very fast. The .' operation needed to shift the dimensions not so much. The routine spends about 20% ...

10 years ago | 0

Question

permute in GPU

I am trying to do a 3D fft on some data using the built in GPU toolbox of 2011a and am having some trouble. Since the fftn func...

10 years ago | 3 answers | 0