Skip to main content
4-Participant
May 13, 2024
Solved

Vector manipulation

  • May 13, 2024
  • 1 reply
  • 1722 views

I want to use equation C in next way:

i=number of A members

Perform C with first member of B and the whole vector A until i+1st member of A becomes lower than i-th member of A. After that, perform C with next B member and continue with A until the same thing appears. In the end I wish C in the form of matrix which will include every calculation which should be 4x4 matrix.

 

Thank you!

Best answer by Werner_E

So here is my suggestion:

Werner_E_0-1715684044462.png

Werner_E_2-1715684472841.png

 

Prime 10 sheet attached

 

1 reply

25-Diamond I
May 13, 2024

From your description its unclear to me what you are trying to achieve.

I would suggest that you type in the 4x4 matrix you would like to see as an end result and show it here - maybe explaining in more detail why this matrix is what you expect.

It would also help if you provide a different example and again the (manually typed in) result you would like to see.

 

Won't believe that you are looking for this, aren't you?

Werner_E_0-1715614834511.png

 

4-Participant
May 14, 2024

I made mistake, matrix should have 3x4 dimension and should have elements like matrix D in attached file. I need to get to the same result as I described above with some loops or functions because I need to apply this kind of calculation on much more elements, so the solution that I'm reaching for should be applicable for different vectors with the same conditions as described above.

 

One more time, every time when next element of vector A become lower than previous element of Vector A, calculation C continue but with next element B. 

 

 

Thank you for answering! 😄

ttokoro
21-Topaz I
21-Topaz I
May 14, 2024

image.pngimage.pngimage.png

ttokoro_0-1715672509126.png

 

t.t.