How to plot the value of a matrix?

조회 수: 3 (최근 30일)
HelpAStudent
HelpAStudent 2021년 9월 26일
편집: Matt J 2021년 9월 26일
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

채택된 답변

Matt J
Matt J 2021년 9월 26일
plot(yourMatrix)
  댓글 수: 4
HelpAStudent
HelpAStudent 2021년 9월 26일
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 2021년 9월 26일
편집: Matt J 2021년 9월 26일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by