Hi, I have
resu = {{a,b,c,d},{g,e,f,h,r,d}}
pos = {3, 2}
I want to Take the elements in the position 3 of resu[[1]] and the second position element in resu[[2]]. So I have written
cp = **Table[Take[resu[[i]],{1, pos[[i]] } &], {i, 1, Length[pos]}]**
But it isn't right. Where is the problem? Thank you for your help.
Margherita