How I plot a matrix wich each rows is a different curves on the graph?

Hi, I have a 6x21 matrix. I want to plot it in one single graph in wich each rows is a different curves.

 채택된 답변

a = randn(6, 21);
plot(a')

댓글 수: 2

I have the value of the matrix, I do not need random value
I don't have your value of the matrix, so I have to generate some data to demonstrate the plot :-)

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 10월 6일

댓글:

2021년 10월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by