Can we use scatteredinterpolant in parallel

15 ビュー (過去 30 日間)
Bin Xu
Bin Xu 2019 年 7 月 10 日
編集済み: Matt J 2019 年 7 月 10 日
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

回答 (2 件)

Shubham Sangle
Shubham Sangle 2019 年 7 月 10 日
You can refer to answer to this reddit question. May be this will help-

Matt J
Matt J 2019 年 7 月 10 日
編集済み: Matt J 2019 年 7 月 10 日
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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by