Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello, I would like to know how to program the union of four or more matrices, as shown in the
attadhed sheet developed in mathcad 15. Thanks
Solved! Go to Solution.
In case that for some reason you don't want to use augment (why?) and are looking for a replacement, you may use something like this:
I'm not sure what you mean by "to program" in this context.
What's wrong with the use of "augment"?
But if your question is how to write a function with a variable number of arguments, then the answer is - not at all, because this is unfortunately not supported by Mathcad for user-defined functions. A workaround solution is to pack all arguments into a vector and pass it as a function argument. Here's an example:
In case that for some reason you don't want to use augment (why?) and are looking for a replacement, you may use something like this:
Thank you very much, I really appreciate the support