How to plot the value of a matrix?

3 Ansichten (letzte 30 Tage)
HelpAStudent
HelpAStudent am 26 Sep. 2021
Bearbeitet: Matt J am 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

Akzeptierte Antwort

Matt J
Matt J am 26 Sep. 2021
plot(yourMatrix)
  4 Kommentare
HelpAStudent
HelpAStudent am 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 am 26 Sep. 2021
Bearbeitet: Matt J am 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by