Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

Unable to plot a Function with Units calling a Solve Block

$
0
0

I would like to plot directly from a function I've written in Mathcad 15 (MC15) to plot data across values of one parameter, input as either a range variable or a vector, but am unfortunately unable to make this work. 

 

The function, Tsrfc() calls a solve block in a fashion similar to the quicksheet Parameterizing Solutions, and like that example includes units.  Tsrfc() is validated using a thermal analyzer application, but currently works for only one value of insulation thickness, tinsl.  Within the MC15 Area named Geometry examples of attempts to implement tinsl as a range variable [error message: This variable must be a scalar or matrix] and as a vector [error message: No solution was found.  Try changing the guess value or the value of TOL or CTOL] can be seen, temporarily deactivated by a leading underscore, _.

 

If plotting directly from a call to this function in a worksheet is not possible, then I would like to call the function in an in-line program, populating a vector, which I can then plotted.  Please advise.

Thanks.

 

 


Viewing all articles
Browse latest Browse all 2936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>