plot graph from array

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

0 个投票

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 个评论

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 ?
plot(yourmatrix(:, 1), yourmatrix(:, 2));
would plot each of column 2-9 against column 1.

请先登录,再进行评论。

类别

帮助中心File 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