my matrix of dimension 120×50 has elements ranging from -1 to 200 . I want to display this matrix as a image in which the matrix cells containing -1 should be displayed as black and 0 should be displayed as white and all positive numbers by red(or green) How to do it ?
MATLAB: How to display a matrix as a image
imageimage analysismatricesmatrix
Related Question
- Question for color set in colorbar
- Perceptron : Recognition Pattern ABC
- The project is about optimal pmu location considering zero injection bus & observability of pmu increament with pmu outages.nw i hv 2 getting into new thing.in this with matlab coding shown below.pls anyone suggest me the coding part of matrix…..
- How to rescale colorbar
- Generating vectors of length N with only -1s and 1s.
Best Answer