Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello Everyone.
Need help with creating a program function W( ) with the input and a similar output as the above ?
Thanks in advance.
Regards.
Solved! Go to Solution.
Here you are.

If in case of an odd number of columns you want zeros the center column, simply change "round" to "trunc".
What will you do if the number of columns is odd?
Here you are.

If in case of an odd number of columns you want zeros the center column, simply change "round" to "trunc".
Many thanks for your time and help, Werner.
![]()
Best Regards.
