interp1 on arrays

[Old posts from the commercial version of ArrayFire] Discussion of ArrayFire using CUDA or OpenCL.

Moderator: pavanky

interp1 on arrays

Postby Tilles » Wed Aug 18, 2010 5:34 am

Hi,

I would like to use interp1(Y,xi) where Y is an 2 dimensional array and interpolation is performed on each column. xi is a vector with the same length of one column of Y. I tried using interp1 in a for loop in order to Y being a vector as well, however it's much slower than interp1 on the CPU.

Thank you for your help!

Tilles
Tilles
 
Posts: 2
Joined: Wed Aug 18, 2010 5:27 am

Return to [archive-commercial] Programming & Development with ArrayFire

cron