You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
I needed to create rgb jpg images of heatmaps that had the same dimensions as my input data. If a heatmap is created using the image function and then saved as a jpgeg, the dimensions of the resulting jpeg no longer correspond to the input dimensions of the data. This function returns a matrix of uint8 data with the same x and y dimensions as the data you input. The z dimension data correspond to RGB values. The output is suitable for conversion to jpg, tiff etc. using imwrite.
Cite As
David Godlove (2026). num2jet.m (https://www.mathworks.com/matlabcentral/fileexchange/26921-num2jet-m), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.99 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
