Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assign symbolic results to a function

Status
Not open for further replies.

hgog

Chemical
Joined
Jun 12, 2010
Messages
2
Location
SE
When I try to inverse transform expressions of type:

1/((s+A)(s+B)(s+C)(s+D)(s+E))

I get the following message:

"The symbolic result returned is too large to display, but it can be used in subsequent calculations if assigned to a function or variable"

In practice, how do I do this?
 
You can simply assign (:=) the result.

That is you get:

Eqn1:=Solve_my_expression -> Long_results

where the 'Solve_my_expression ->' is the bit you already have. It will still give the same message, but Eqn1 will be the undisplayable formula.

You can even use

My_function(t):=Eqn1-> (long result)

Where 't' is a variable name used in the (hidden) long result to create the new function.

Thus you will see that the live symbolic work is done first and then it is as if the result stands in it place for a regular mathcad (numeric) expression definition.

Also look up the 'undefine' where you sat a:=a etc so that the symbolic calculation doesn't backtrack all the way to your defined numbers, but stops at the variable names you chose You can even do the 'undefine' on intermediate variables if you want to keep them in the symbolic solution rather than the base variables.

Philip
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top