,

3 commentaires

Cris LaPierre
Cris LaPierre le 15 Jan 2022
What have you tried?
James Tursa
James Tursa le 15 Jan 2022
Modifié(e) : James Tursa le 15 Jan 2022
If I type in "bar" to the Help Center Support and click on the first link this shows up:
Maybe you could start by reading through this and looking at the examples.
Cris LaPierre
Cris LaPierre le 15 Jan 2022
OP delete their question. From the cache:
Guys im not sure how to set up a Bar plot with N x M matrix as input.
Here's what i want:

Connectez-vous pour commenter.

 Réponse acceptée

Cris LaPierre
Cris LaPierre le 15 Jan 2022
Modifié(e) : Cris LaPierre le 15 Jan 2022

0 votes

You may want a histogram.
% nxm matrix
grades = randi(100,5,3);
histogram(grades,[0:10:100])
xlabel("Grade")
ylabel("Number of students")

Plus de réponses (0)

Catégories

En savoir plus sur Color and Styling dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by