Convert a 2d matrix into an image with nans replaced by white in matlab

The following Matlab project contains the source code and Matlab examples used for convert a 2d matrix into an image with nans replaced by white . nantowhite - Convert a 2D matrix into an image with NaNs replaced by white USAGE:   [im, clim] = nantowhite(cvals)   [im, clim] = nantowhite(cvals, clim)   [im, clim] = nantowhite(cvals, clim, cmap) nantowhite takes in an N x M matrix of values ('cvals') and outputs an N x M x 3 uint8 image that can be displayed on screen using 'image'.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1314
nantowhite.m 4869

SocialTags: