How to plot certain columns and rows from matrix

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

 Akzeptierte Antwort

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

Weitere Antworten (1)

Finna Mathew
Finna Mathew am 9 Sep. 2019

3 Stimmen

i need to plot one column against another coulmn. How can i do that

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by