Filter löschen
Filter löschen

Plots with [N x M] Matrix

3 Ansichten (letzte 30 Tage)
MBM
MBM am 15 Jan. 2022
Kommentiert: Cris LaPierre am 15 Jan. 2022
,
  3 Kommentare
James Tursa
James Tursa am 15 Jan. 2022
Bearbeitet: James Tursa am 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 am 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:

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Animation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by