plot graph from array

2 vues (au cours des 30 derniers jours)
tomer polsky
tomer polsky le 17 Mar 2017
Commenté : Guillaume le 18 Mar 2017
i got an array of 100 raws and 9 colms . how can i plot the data from this array ?

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by