The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[Solved] Shift all examples in an attribute by one
Dear all,
I'm looking for a way to create a copy of the attributes which is shifted by one example compared to the original.
Original:
att1 att2
10 50
20 100
30 150
Expexted result:
att1 att1_shifted att2 att2_shifted
10 20 50 100
20 30 100 150
30 150
I tried with the "loop" and "macro" operators but until now I found no solution for this.
I'm always struggiling with these two parameters
Cheers
Sachs
I'm looking for a way to create a copy of the attributes which is shifted by one example compared to the original.
Original:
att1 att2
10 50
20 100
30 150
Expexted result:
att1 att1_shifted att2 att2_shifted
10 20 50 100
20 30 100 150
30 150
I tried with the "loop" and "macro" operators but until now I found no solution for this.
I'm always struggiling with these two parameters
Cheers
Sachs
0
Answers
Ok, here is what I found out so far. Not quite yet what I was looking for but maybe this could be an inspiration for all the brains out there...
Best regards
Sachs
Best,
Marius
Thank you