How to plot certain columns and rows from matrix

202 visualizaciones (últimos 30 días)
Joshua
Joshua el 23 de Oct. de 2014
Comentada: Arham Ansari el 16 de Jul. de 2020
if I have a matrix that is 33x120, how would you plot the first 3 rows vs. columns 25-35?
I'm having trouble figuring out how to come out with the coding
thanks

Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 23 de Oct. de 2014
Let A your matrix with size 33 x 120
plot(A(1:3,25:35)')

Más respuestas (1)

Finna Mathew
Finna Mathew el 9 de Sept. de 2019
i need to plot one column against another coulmn. How can i do that

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by