How to plot heatmap using gpuArray?

1 回表示 (過去 30 日間)
Arjun Tejani
Arjun Tejani 2021 年 3 月 22 日
回答済み: Joss Knight 2021 年 3 月 24 日
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 日
Sorry, scatteredInterpolant doesn't support gpuArray.

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by