From: Pradeep Ramalingam on 28 May 2010 05:08 i need some help in ploting graph for the following scenario, need some help.... for(i=1;i<=10;i++) { a=randint(10,10,4); //intialized 10 x 10 array with random values from 0,1,2,3 } for every iteration for i=1:10 i need to count the number of 0's,1's,2's,3's that are intialized in an array and plot a graph with iterations in x-axis and number of 0,1,2,3 in y axis with different colours in same plot......
From: TideMan on 28 May 2010 05:57 On May 28, 9:08 pm, "Pradeep Ramalingam" <pradeep.ramalin...(a)gmail.com> wrote: > i need some help in ploting graph for the following scenario, need some help.... > > for(i=1;i<=10;i++) > { > a=randint(10,10,4); //intialized 10 x 10 array with random values from 0,1,2,3 > > } > > for every iteration for i=1:10 i need to count the number of 0's,1's,2's,3's that are intialized in an array and plot a graph with iterations in x-axis and number of 0,1,2,3 in y axis with different colours in same plot....... Wrong newsgroup. This is Matlab, not C++
|
Pages: 1 Prev: Zoom in/out on threee plots in the same time Next: plot point on image |