Mostrar comentarios más antiguos
Hi everyone, i wasnted to know how can i use imshow to print a matrix "X" using diferent colormaps. X is a [256x512x3] matrix with values give from the code below
X=zeros(256,512,3);
for i=1:256
X(i,:,:)=i;
end
im=im2uint8(X);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Color and Styling en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!