Variable Names in Mathcad
Variable Names in Mathcad
(OP)
Is there a way to name a variable in Mathcad like: VPC_q and then define "q" prior to the variable like: q=black, so that I don't have to write out VPC_black and change all of the following equations that use VPC_black when I want to change from VPC_black to VPC_blue, for example?..TIA, Ron
RE: Variable Names in Mathcad
Cheers
Greg Locock
RE: Variable Names in Mathcad
Place all your blue and black values in a matrix. Define a function of an index value that returns the value desired from the matrix. Then you use the function wherever you need and you use an auxilliary variable that's passed to the function. I posted an example in the Studyworks Collab at:
http://collab.mathsoft.com/read?29616,35
TTFN