Can we use scatteredinterpolant in parallel

3 vues (au cours des 30 derniers jours)
Bin Xu
Bin Xu le 10 Juil 2019
Modifié(e) : Matt J le 10 Juil 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

Réponses (2)

Shubham Sangle
Shubham Sangle le 10 Juil 2019
You can refer to answer to this reddit question. May be this will help-

Matt J
Matt J le 10 Juil 2019
Modifié(e) : Matt J le 10 Juil 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

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by