Heatmap from a matrix with scattered values

5 ビュー (過去 30 日間)
Odin Søgnen
Odin Søgnen 2015 年 6 月 13 日
回答済み: Walter Roberson 2015 年 6 月 13 日
Hi!
I have measured temperatures in differents locations on one floor of a building. I would like to make a heatmap out of these values, but since the values are scattered I need to fill in the blank spots to see the temperature between my measurement points. I don't know how to do this two-dimensionally. How do I do this in MatLAB?
It is a 25x25 matrix which I have attached (Excel). I am already using this code to get a heatmap from my matrix.
A = [25X25 matrix]; %Matrix to draw
colormap('hot'); % set colormap
imagesc(A); % draw image and scale colormap to values range
colorbar; % show color scale

採用された回答

Walter Roberson
Walter Roberson 2015 年 6 月 13 日

その他の回答 (0 件)

カテゴリ

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