How to plot certain columns and rows from matrix

조회 수: 200 (최근 30일)
Joshua
Joshua 2014년 10월 23일
댓글: Arham Ansari 2020년 7월 16일
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

채택된 답변

Andrei Bobrov
Andrei Bobrov 2014년 10월 23일
Let A your matrix with size 33 x 120
plot(A(1:3,25:35)')

추가 답변 (1개)

Finna Mathew
Finna Mathew 2019년 9월 9일
i need to plot one column against another coulmn. How can i do that

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by