Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- angle(x,y) function gives different result?

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-18-2019
08:37 AM

10-18-2019
08:37 AM

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-18-2019
08:58 AM

10-18-2019
08:58 AM

Re: angle(x,y) function gives different result?

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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-19-2019
04:59 AM

10-19-2019
04:59 AM

Re: angle(x,y) function gives different result?

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

Success!

Luc