Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I apparently do not understand how to use a function defined in a solve block to get results for a range (vector) of variables. It works for a single input, but not a range of inputs.
Any help is appreciated.
Note; the attached file is Mathcad 15. You will need both the xmcd and the xlsx files. They are attached.
Thanks again.
Solved! Go to Solution.
When you have a function which is made for single scalar inputs and you would like to feed vectors of values, you always should use vectorization (even though sometimes it is not necessary - depends on the calculations done in the function).
Thats the arrow over the expression and you can find it on the matrix palette or use the appropriate keyboard shortcut.
BTW, writing in all uppercase as you did in the subject is usually interpreted as shouting loudly and thats certainly not necessary here in the forum and is often considered impolite. So you should avoid doing so in the future.
When you have a function which is made for single scalar inputs and you would like to feed vectors of values, you always should use vectorization (even though sometimes it is not necessary - depends on the calculations done in the function).
Thats the arrow over the expression and you can find it on the matrix palette or use the appropriate keyboard shortcut.
BTW, writing in all uppercase as you did in the subject is usually interpreted as shouting loudly and thats certainly not necessary here in the forum and is often considered impolite. So you should avoid doing so in the future.
Thanks much Werner. Didn’t mean to shout. I’m 80 years old and accustomed to using upper case for titles. I do these Mathcad projects to keep dementia away and to”keep me out of bars at night.” 🤣
I really appreciate your help. You are always very helpful. I’ll try to remember the upper case thing.