Community Profile

Contact

Top 5% contributor

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

1

Answered 2 years ago

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

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

accepted

0

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

4 Answers

Asked 3 years ago

I found a rather kludgy way to get it to work by replacing most of the int's with mwSignedIndex's. So in addition to having to ...

3507 views

Responded 5 years ago

How did you get ndfun to work in 64 bits? I tried pointing mex to the blas and lapack libraries included in $MATLABROOT/bin/gln...

Any thoughts?

2724 views

I'm writing some code that will be used to convolve large amounts of data in a little time as possible (~1 million 1D ffts, each...

Posted 5 years ago

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

3 Answers

I am a bit confused now. I corrected a few unrelated bugs in the code (they multiplied the output of betacore) and the speed is...

1879 views

Responded 6 years ago

Hi Steve, Thanks for the quick response. My problem with betainc is that I have to evaulate it for 0<z<~3, -2<~w<=0 , and 0<x<...

I need an implementation of the incomplete beta function (Matlab implements the regularized version which fails for the argument...

Posted 6 years ago

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

2 Answers

Asked 11 months ago

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

Never mind. That transformation produces equally spaced abscissas, with equal weights and can't possibly be accurate.

1317 views

Responded 7 years ago

I am sorry, I realize this is not correct for regular Chebyshev, but is certainly correct for Chebyshev-Lobatto, which uses abci...

I am rather curious as to why quadgk uses a 7 point Gauss-Legendre basis for its Kronrod extension. Does the accuracy of the ca...

Posted 7 years ago

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

1 Answers

Asked 1 year ago

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

Asked 2 years ago

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

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

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

0 Answers

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

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

Answered 3 years ago

If evaluating your integral is not too expensive, then why not compute the r-derivative of your integral and use Newton's method...

407 views