Visualize matrix by a heatmap

版本 1.0.0.0 (5.8 KB) 作者: zhang
PCOLORMAT allows you to visualize the matrix with color gradient
289.0 次下载
更新时间 2015/5/13

查看许可证

% PCOLORMAT allows you to visualize the matrix with color gradient
%
% USAGE:
%
% pcolorMat(mat,ncolor,ndigits)
%
% INPUT:
% - mat: The matrix you want to visualize
% - ncolor: number of color gradient
% - ndigits: number of decimal digits shown in the figure.
%
% OUTPUT:
%
% EXAMPLES:
% pcolorMat(rand(4,4))
% pcolorMat(rand(4,4),4)
%
% Copyright 2015. Zhang (Frank) Cheng (zhangc518@gmail.com
% v:1.0 22 May 2015. Initial release.
%
% Dependence:
% colorGradient.m: http://www.mathworks.com/matlabcentral/fileexchange/31524-colorgradient--generate-custom-linear-colormaps/content/colorGradient.m

引用格式

zhang (2026). Visualize matrix by a heatmap (https://ww2.mathworks.cn/matlabcentral/fileexchange/50835-visualize-matrix-by-a-heatmap), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
版本 已发布 发行说明
1.0.0.0