How to plot the value of a matrix?

4 visualizaciones (últimos 30 días)
HelpAStudent
HelpAStudent el 26 de Sept. de 2021
Editada: Matt J el 26 de Sept. de 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

Respuesta aceptada

Matt J
Matt J el 26 de Sept. de 2021
plot(yourMatrix)
  4 comentarios
HelpAStudent
HelpAStudent el 26 de Sept. de 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 el 26 de Sept. de 2021
Editada: Matt J el 26 de Sept. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by