1 | initial version |
As i can see, the elements of myLset1
are vectors of length 8, so when you loop for myLel in myLset1:
, each myLel
is a vector of length 8, so you can not write [proja1, proja2, proja3, proja4, proja5] = myLel
.
If you want to pick the 5 first coordinates of myLel
, you can use a slice: [proja1, proja2, proja3, proja4, proja5] = myLel[:5]
That said, note that proja1
, proja2
, ... are not used elsewhere in the function.