How to plot heatmap using gpuArray?

Hello,
I am having 6000 cordinates of (x,y) Locations and each has particular values. I want to plot a heatmap.
For now I am using :
[X,Y] =meshgrid(x,y);
F= scatteredInterpolant(x,y,zi);
contourf(X,Y,F(X,Y),100,'LineColor','none')
which is taking almost 3-4 minutes to plot a heatmap. I was hoping to use gpuArray function. But it seems not working :/

回答 (1 件)

Joss Knight
Joss Knight 2021 年 3 月 24 日

0 投票

Sorry, scatteredInterpolant doesn't support gpuArray.

カテゴリ

ヘルプ センター および File ExchangeData Distribution Plots についてさらに検索

質問済み:

2021 年 3 月 22 日

回答済み:

2021 年 3 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by