How to plot the value of a matrix?

3 vues (au cours des 30 derniers jours)
HelpAStudent
HelpAStudent le 26 Sep 2021
Modifié(e) : Matt J le 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

Réponse acceptée

Matt J
Matt J le 26 Sep 2021
plot(yourMatrix)
  4 commentaires
HelpAStudent
HelpAStudent le 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 le 26 Sep 2021
Modifié(e) : Matt J le 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by