If we have a nested matrix as:
start={
{{1, 2, 2, 3}, {1, 1, -2, 1}, {3, 2, 2, -I}, {1, 2, 0, -I}},
{{3, 4, 4, 0}, {1, 1, 4, 1}, {3, 3, 4, -1}, {1, 1, 2, I}}
}
How can we choose the latest elements of sub_lists 3,1,-I,-I,0,1,-1,I and create of them a matrix as
final={{3,1,-I,-I},{0,1,-1,I}}
start[[;; , ;; , -1]]– garej Jan 22 '16 at 19:29Map(which is used by David G.Stork) in mathematica help I will seeMap[f, {a, b, c, d, e}]={f[a], f[b], f[c], f[d], f[e]}I cannot understand what area, b, c, ..are they sub_lists or each elements in sub_lists!!! Just in examples we can see what happen in list manipulation. – Unbelievable Jan 22 '16 at 19:30Map[Style[f, Red], Thread[List[{a, b, c, d, e}, {a, b, c, d, e}]]]andMap[Style[f, Red], Thread[List[{a, b, c, d, e}, {a, b, c, d, e}]], {-1}]– garej Jan 22 '16 at 19:38Map[Last, start, {-2}]– garej Jan 22 '16 at 19:49