How to plot the value of a matrix?

1 visualizzazione (ultimi 30 giorni)
HelpAStudent
HelpAStudent il 26 Set 2021
Modificato: Matt J il 26 Set 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

Risposta accettata

Matt J
Matt J il 26 Set 2021
plot(yourMatrix)
  4 Commenti
HelpAStudent
HelpAStudent il 26 Set 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 il 26 Set 2021
Modificato: Matt J il 26 Set 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su DICOM Format in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by