How do I get a histogram of values from within a table?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When I create an array from a select few values from a categorical variable in a table, the histogram shows every variable from the table instead of just the ones in the array.
table1 = table(table.column1 == "CAT", :);
array = table1.column1;
histogram(array)
The code above shows a histogram of the entire column table.column1 instead of a histogram of the array created by using table1.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Histograms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!