Heatmap from a matrix with scattered values

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by