question about a graph in matlab

Discussion in 'Programmer's Corner' started by theo23, Feb 7, 2009.

  1. theo23

    Thread Starter Member

    Nov 29, 2008
    I have 2 matrixes v(1:280),K(280:27)
    In matrix K i found the sum of the columns with r=sum(K,1); and after i found the minimum of these values with elax=min(r);
    My question is:
    I want to make a graph v,K in which in axis x i'll have the values of v(1:280) and in axis y i want to have the column of K(1:280) with the minimun r.How can i do that?
    Thank you!