Borrar filtros
Borrar filtros

Color representation in matrices

3 visualizaciones (últimos 30 días)
Oluwaseyi Aliu
Oluwaseyi Aliu el 7 de En. de 2021
Respondida: Walter Roberson el 7 de En. de 2021
Dear friends,
I have a square matrice containing elements 1 and 0 only. The ones in the matrix represents solids and I want it to turn out with a particular color reflecting all the elements 1 as solids with same colors. How can I do this please?

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de En. de 2021
ind2rgb(Binary Matrix, colormap with two entries)

Más respuestas (0)

Categorías

Más información sobre Bodies en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by