How to plot the value of a matrix?

1 view (last 30 days)
HelpAStudent
HelpAStudent on 26 Sep 2021
Edited: Matt J on 26 Sep 2021
Hi, I have a matrix 7x21 double, there is a way to plot the result with this imput:
x axis: the columns
y axis: the rows

Accepted Answer

Matt J
Matt J on 26 Sep 2021
plot(yourMatrix)
  4 Comments
HelpAStudent
HelpAStudent on 26 Sep 2021
I can not, because is a dicom image. A dicom image can't be attach right here. Can't you just chek why does not plot? Because the code befor the latest line does the work
Matt J
Matt J on 26 Sep 2021
Edited: Matt J on 26 Sep 2021
It is not obvious from the posted code why it does not plot. The simplified code below is something you can easily run to prove to yourself that it should work.
meanbasket=rand(4,7);
plot(meanbasket); legend

Sign in to comment.

More Answers (0)

Categories

Find more on DICOM Format in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!