plot graph from array

2 views (last 30 days)
tomer polsky
tomer polsky on 17 Mar 2017
Commented: Guillaume on 18 Mar 2017
i got an array of 100 raws and 9 colms . how can i plot the data from this array ?

Answers (1)

Guillaume
Guillaume on 17 Mar 2017
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 Comments
tomer polsky
tomer polsky on 18 Mar 2017
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 on 18 Mar 2017
plot(yourmatrix(:, 1), yourmatrix(:, 2));
would plot each of column 2-9 against column 1.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!