Plots with [N x M] Matrix

2 次查看(过去 30 天)
,
  3 个评论
James Tursa
James Tursa 2022-1-15
编辑:James Tursa 2022-1-15
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 2022-1-15
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:

请先登录,再进行评论。

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Animation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by