Since 6/29/2012 8:51:19 PM, dhruv.umich has written 1 articles and participated in 0 conversations. dhruv.umich signature:
dhruv.umich's articles:
Items(1) /1
2nd max is max of vec minus max(vec)931 (6/29/2012 8:51:12 PM) comp.soft-sys.matlab 2nd maximum is the max of the group when you remove the max from group.
lets say your vector is vec,
2nd maximum = max(vec(vec<max(vec)));
... Dhruv