plot graph from array

조회 수: 2 (최근 30일)
tomer polsky
tomer polsky 2017년 3월 17일
댓글: Guillaume 2017년 3월 18일
i got an array of 100 raws and 9 colms . how can i plot the data from this array ?

답변 (1개)

Guillaume
Guillaume 2017년 3월 17일
plot, surf or any other plotting function?
Without you telling us more about what the data in that matrix represents and what you want to display out of it how can we tell you which is more adequate?
  댓글 수: 2
tomer polsky
tomer polsky 2017년 3월 18일
oh ok i am sorry . As I said i have 9 colmn .lets say the first colmn is (D.C -duty cycle ) and the other colms are the reuslts of I and V of each DC. i want to make this graph : f(D.C)=V for exmaple . how do i make it ?
Guillaume
Guillaume 2017년 3월 18일
plot(yourmatrix(:, 1), yourmatrix(:, 2));
would plot each of column 2-9 against column 1.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by