Hola a todos, tengo una pequeña consulta.
Estoy generando unas franjas en matlab mediante una matriz que lleno con valores entre cero y uno. Con las funciones
colormap('gray')
imagesc(matriz)
logro obtener una imagen a rayas con negro para valores entre 0 y 0,4;
blanco para para los valores entre 0,5 y 1.
necesito que el cero sea negro el blanco 1, y para los valores intemedios variaciones de grises.
Cite As
molano (2023). escala de grises (https://www.mathworks.com/matlabcentral/fileexchange/41448-escala-de-grises), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |