Can we use scatteredinterpolant in parallel

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

Respuestas (2)

Matt J
Matt J el 10 de Jul. de 2019
Editada: Matt J el 10 de Jul. de 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

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 10 de Jul. de 2019

Editada:

el 10 de Jul. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by