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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

angle(x,y) function gives different result?

DamienB
2-Explorer

angle(x,y) function gives different result?

I was verifying my math against simulation (PSICE) results and noticed an odd discrepancy when trying to plot the difference in phase angle between two transfer functions.

 

Comparing each transfer function's phase angle to its corresponding simulation result shows an almost exact alignment. However, comparing the difference between the phase angles shows correctly (or at least as expected) only for the simulation results.

 

What am I missing? Worksheet is attached (MathCAD 15.0 M050).

2 REPLIES 2
Werner_E
25-Diamond I
(To:DamienB)

Not sure why, but the difference between the two difference curves is about 2° at max. Thats 0.035 rad. It may be within a tolerable tolerance?

LucMeekes
23-Emerald III
(To:DamienB)

Rerun the PSPICE simulation with better accuracy (lower RelTol, etc.) to see if it gets closer to the Mathcad result.

 

Success!
Luc

Announcements

Top Tags