How to plot certain columns and rows from matrix

236 views (last 30 days)
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

Accepted Answer

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

More Answers (1)

Finna Mathew
Finna Mathew on 9 Sep 2019
i need to plot one column against another coulmn. How can i do that

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!