v = linspace(2,4,5); x = v(1); y = v(5); z = v(3); x + y + z >> vector_indexing ans = 9 2+4+3=9∴valid