Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
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!
Solved! Go to Solution.
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?
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! 😄