Can somebody help me with a coding problem?
I am trying to design a function which takes two vectors as an input, then outputs a vector in the following way.
Say y