The PTC Community will be on read only status starting March 23rd in preparation for moving our platform to a new provider. Read more here
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.
