hi everyone,
i want to pick up the highest value in an array and then pass these values to a another array.
for example:-
A[6]={1,2,3,4,3.1,2.1,1,2.7,3,4.7,3,2,1}
so if we plot the above array on a graph we get something like a sinewave (considering plotting against time)
so my concern is to collect the highest value from the above vector that is 4 and 4.7 and then want to put these two values into a new array.
please help me in getting this.
thanks a lot



LinkBack URL
About LinkBacks


