How to plot a graph?

I have a matrix of 50x6 and range between 0 - 1.
Now I have to plot in a way such that X and Y axis range is 0 to 1 and graph should have 50 lines (row-wise data of the matrix).
can you enlightnen me in plotting this?

Respuestas (2)

KSSV
KSSV el 20 de Sept. de 2021

0 votos

You can striaght away use plot on 50*6 matrix.
plot(A) ; % A is 50*6 matrix
legend

3 comentarios

Harsha M V
Harsha M V el 20 de Sept. de 2021
No sir, this gives only 6 lines, i.e column-wise
Harsha M V
Harsha M V el 20 de Sept. de 2021
graph should look like the below image with 50 lines
KSSV
KSSV el 20 de Sept. de 2021
Transpose A..
plot(A') ;

Iniciar sesión para comentar.

Harsha M V
Harsha M V el 21 de Sept. de 2021

0 votos

No sir,
It comes column wise
I want something like in the below figure: (50 lines corresponds to 50 rows of the matrix)

2 comentarios

KSSV
KSSV el 21 de Sept. de 2021
Attach your data.
Harsha M V
Harsha M V el 22 de Sept. de 2021
data attached Sir

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

el 20 de Sept. de 2021

Comentada:

el 22 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by