Hi,
very good reponse.
You are right, I haven't need use "ReplacePart".
I notice that you have practice with Mapthread. So, I could ask you another question.
If I use MapThread for Select, where is the position of select condition (I 'd like create a list where the elements are <=2) ?
for exemple
If I have this:
"res1= {1,2,3}" the command will be "Lat = Select[ res1 , #<=2. &];"
but with
res= {{1,2,3},{1,2,3},{1,4,5}}
. Which is the command
to have:
Lat = {{1,2},{1,2},{1,}}
MapThread[Select, res] (where is the position for the select condition?)
Thank you.
Margherita