Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi everyone. I'm using Mathcad Prime 10.0. Was using 8.0 before the update. I tend to use vectorization this way before and never had a problem. Since I switched to 10.0 this way doesn't work anymore. It should be a vector or matrix but none of the operation for matrix or vector work anymore. Let me know if there is any error on my side, Thanks for your help!
Solved! Go to Solution.
The undocumented trick to turn a range into a vector never needed the usage of the vectorization operator!
As @DJNewman already wrote this undocumented feature was removed with version 10 of Prime, unfortunately without providing a "legal" alternative.
So by now you either have to use your own user defined function to create the necessary vector right ahead, or you use a function which turns an existing range into a vector. You can find some suggestions in the thread @DJNewman linked to.
For example:
You could use this very same function also to create the vector right ahead using a local assignment
but you can't type it in that way because Prime won't allow you to provide the second, comma separated value of the range (0.35). You would have to type it in an empty place on the sheet and then use copy and paste. Awkward, so you may be better off with one of the other functions if you want to create a vector without the detour via a range variable.
Mathcad Prime 10 removed the "undocumented trick" of turning range variables into vectors by in-line evaluating them from the definition.
This thread has some alternative workarounds to easily create vectors with a step function.
The undocumented trick to turn a range into a vector never needed the usage of the vectorization operator!
As @DJNewman already wrote this undocumented feature was removed with version 10 of Prime, unfortunately without providing a "legal" alternative.
So by now you either have to use your own user defined function to create the necessary vector right ahead, or you use a function which turns an existing range into a vector. You can find some suggestions in the thread @DJNewman linked to.
For example:
You could use this very same function also to create the vector right ahead using a local assignment
but you can't type it in that way because Prime won't allow you to provide the second, comma separated value of the range (0.35). You would have to type it in an empty place on the sheet and then use copy and paste. Awkward, so you may be better off with one of the other functions if you want to create a vector without the detour via a range variable.
Appreciate your response as well as alternative for this. It should work just fine. Just a few lines more. Thanks for your help!