MATLAB Answers

Bin Xu
0

Can we use scatteredinterpolant in parallel

Asked by Bin Xu
on 10 Jul 2019
Latest activity Edited by Matt J
on 10 Jul 2019
I am doing data interpolation using scatteredinterpolant method. The data set is large (110k nodes). My question is : can we speed up the scatteredinterpolant function by using it with parallel toolbox?
Thx
Bin

  0 Comments

Sign in to comment.

2 Answers

Answer by Shubham Sangle on 10 Jul 2019

You can refer to answer to this reddit question. May be this will help-

  0 Comments

Sign in to comment.


Answer by Matt J
on 10 Jul 2019
Edited by Matt J
on 10 Jul 2019

You can certainly divide queries into parallel batches, e.g.,
F=scatteredInterpolant(P,v);
results=cell(size(batch));
parfor i=1:numel(batch)
results{i}= F(batch{i});
end

  0 Comments

Sign in to comment.