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
- :
- Acoustic impedance Plot

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

Highlighted

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

04-13-2018
11:51 AM

04-13-2018
11:51 AM

All,

I'm trying to plot a graph of real and imaginary part of the acoustic impedance of an empty tube with a closed end.

This is the function of the Impedance and the graph I obtain:

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

04-13-2018
01:48 PM

04-13-2018
01:48 PM

Hi,

I used Mathcad 15 and I changed the data, to fit to the graph you provided.

10 REPLIES 10

Highlighted

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

04-13-2018
11:53 AM

Highlighted
##

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

04-13-2018
12:01 PM

04-13-2018
12:01 PM

Re: Acoustic impedance Plot

Thank you very much if everyone can help me, I'm becoming half crazy tryng to obtain something similar to what I expect.

Highlighted
##

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

04-13-2018
01:42 PM

04-13-2018
01:42 PM

Re: Acoustic impedance Plot

Attach you worksheet please. (See announcement to the right of this for instructions).

Mathcad will not plot imaginary parts of complex numbers. You need to use the Re () and Im () functions to separate the real and imaginary parts.

Success!

Luc

Mathcad will not plot imaginary parts of complex numbers. You need to use the Re () and Im () functions to separate the real and imaginary parts.

Success!

Luc

Highlighted
##

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

09-22-2020
10:27 AM

09-22-2020
10:27 AM

Re: Acoustic impedance Plot

Mathcad **can** plot real and imaginary or magnitude and phase. I have attached an example where the acoustic reflection is at oblique angles. I've used Mathcad 14 for the calculations.

Highlighted
##

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

09-23-2020
08:32 AM

09-23-2020
08:32 AM

Re: Acoustic impedance Plot

That's my point.

You are showing the use of Re() and Im() functions.

The Im() function takes any complex number and converts it's imaginary part into a real number. And that can be plotted, (only) because it's a real number.

Luc

Highlighted

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

04-13-2018
01:48 PM

04-13-2018
01:48 PM

Hi,

I used Mathcad 15 and I changed the data, to fit to the graph you provided.

Highlighted
##

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

04-13-2018
04:51 PM

04-13-2018
04:51 PM

Re: Acoustic impedance Plot

Solved! Thank you very much!

I think I can't use the arg() function with the express version of prime 4.0, but at least I can plot the modulus correctly!

Highlighted
##

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

04-13-2018
06:26 PM

04-13-2018
06:26 PM

Re: Acoustic impedance Plot

You are right. Re(), Im() and arg() are considered "Premium" functions and are not available in Express.

Fortunately the conjugate complex operator is not "Premium" and so you can easily define those "Premium" functions yourself in Prime Express:

Highlighted
##

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

04-14-2018
05:03 AM

04-14-2018
05:03 AM

Re: Acoustic impedance Plot

Thank you very much, I really appreciate it.

This is a super community!

Andrea

Highlighted
##

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

04-13-2018
01:54 PM

04-13-2018
01:54 PM

Re: Acoustic impedance Plot

What your picture shows is that you have plotted the magnitude |Z(omea)| over omega.

But what you ant to see ist the plot of Re(Z(omea)) and Im(Z(omea)). So simply write those expression instead of |Z(omea)|.

You can see it done in MC15 in Francescos answer above. Re() and Im() are built-in functions you can use out of the box.

Some additional remarks:

.) You have better control over the step width of omega in the plot if you define a range variable for omega

.) You may consider using units as well - thats what Mathcad and even Prime is really good at.