×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Mathcad need denom and numer funcitons

Mathcad need denom and numer funcitons

Mathcad need denom and numer funcitons

(OP)
I am often doing control theory work where I have a transfer function in the s or z domain.  There is no easy way to automatically get the numerator or denominator of the transfer function.  This must be done manually which is a pain and is sometimes forgotten which create errors.  There should be numer and denom functions or is there some other method of extracting the numerator or denominator? I have Mathcad 13.

RE: Mathcad need denom and numer funcitons

Numer and denom are two of the new functions added in MC14.

Peter

RE: Mathcad need denom and numer funcitons

(OP)
That is good to know.  Its about time these functions are part of Mathcad.

Peter Nachtwey

RE: Mathcad need denom and numer funcitons

denom and numer have been part of Mathcad since at least v11 and features in one of the Quicksheets.

Try dn(x,y):=denom(y/x^2)-> and nm(x,y):=numer(y/x^2)->

(they are symbolic operators)

Stuart

RE: Mathcad need denom and numer funcitons

Interesting, those do indeed work in MC11, 13 and 14.  According to the MC14 release notes, Numer and Denom are "new features" in MC14 (See #2 under symbolics enhancements).

http://www.ptc.com/support/mathcad_relnotes.htm

Peter

RE: Mathcad need denom and numer funcitons

(OP)
Wow!  Mathcad sure has kept that a secret!  I can't find numer or denom in the help at all but I tried it and it works!  I can now generator coefficients for by difference equations automatically from the z domain transfer function. I use numer and denom and then coeffs,z.

I will try out the numer and denom functions with polyroots tomorrow to see if I can easily generate poles and zeros.  Then my pole/zero plots will update automatically too.

I wonder what other secrets there are.

My next complaint is that often Mathcad produces transfer functions where the sign is wrong for both the numerator and the denominator.   Example -x/-y.   Is there and easy way to make this x/y?

After that I often see functions the look like this  (-b+a)/3 instead of (a-b)/3.  I know this is small stuff but I would like to use my Mathcad examples in a book someday and it would be nice if I didn't have to manually edit so much.

It never hurts to ask.

Peter Nachtwey
   

RE: Mathcad need denom and numer funcitons

versions prior to M14 used Maple and contained many undocumented Maple features.  Don't know if there's any compendium of those anywhere.

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close