cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Symbolics

prajendran
11-Garnet

Symbolics

Hi

 

I'm getting an error message for the symbolic evaluation. 

Could you please help.

It is calling defined variables undefined.

Please help

Thanks

1 REPLY 1
Werner_E
25-Diamond I
(To:prajendran)

The symbolics can't deal with functions using if-commands or if-statements.

The symbolics always tries to simplify the function definition without using specific arguments and it fails of course as it can't decide whoch branch of the "if" to follow.

It may be possible to reformulate the functions using boolean expressions or the Heaviside-function instead of the if's but chances are you won't like the look of the derivate of such functions.

Announcements

Top Tags