Quantcast
Channel: PTC Community: Message List - PTC Mathcad
Viewing all 9237 articles
Browse latest View live

Re: Mathcad Prime 3.1, 4 and 5 Lack of features

$
0
0

Hi Rick,

 

I've spent quite of bit of time looking for alternatives to MathCad.  I've been using it since the beginning and am a big fan, however, it's hard to be enthusiastic about the future.  I talked recently with one of the marketing folks and he assured me that Prime 4 would fix many of the complaints about Prime 3.1.  I really want him to be right, but I'll wait and see.

 

Basically, there seem to be four big choices:  Matlab, Mathematica, Maple and Mathcad.  There are, of course, some others, but it's tough to make a big time investment in a code that might go away without notice.  In terms of user base, it appears to me that there is basically Matlab and then everyone else.  The Matlab user base is huge and appears to be spread over much of the World.  The user interface seems clunky to me; otherwise it's pretty good.  Mathematica and Maple certainly have a significant user base, but Matlab is the program I see everywhere in the engineering world.

 

Being a Mathcad user is beginning to feel like being one of the last speakers of a dying language.  This semester, my students voted unanimously (undergrads: 80-0, grads: 19-0) to use Matlab for all calculations in class.  They are very convinced that Matlab is a marketable skill.  I had to confess that, while I really like Mathcad, they'd probably never see it again after they left school.

 

I had originally planned to go to Maple for my classes, but my students were pretty clear about what skill they thought they needed.  Fair enough.


How to create inverse units [e.g. /dBm(x)] in Mathcad Prime?

$
0
0

I'd like to implement some form of decibels in Mathcad. I've found a few nice references:

 

Mathcad Example Using Decibels | Math Encounters Blog

https://books.google.com/books?id=DfVVkGnzIJAC&printsec=frontcover#v=onepage&q=inverse%20function&f=false

 

In both of these examples they are creating a forward function dB(x), which works just fine, but also an "inverse function" /dB(x). No matter how I try I cannot get Mathcad Prime to create something that looks like that inverse function. (The CTRL+SHIFT+K approach recommended in the second link doesn't work in Prime.) The closest I've gotten is when I got the Mathcad error message "Unknown error: no_inverse_declared."

 

Is there any way to create an "inverse function" in Prime?

Re: How to create inverse units [e.g. /dBm(x)] in Mathcad Prime?

Re: How to create inverse units [e.g. /dBm(x)] in Mathcad Prime?

$
0
0

Here's a Mathcad 15 worksheet that shows how to use dB. I've posted this before (more then once, I think). It looks like that Math Encounters Blog is based on this worksheet, although the author doesn't bother to say so. I converted it to Prime, and it doesn't work; it just throws the error you have already seen. So I think you are out of luck. Yet another deficiency in Prime.

Currency Numeric Formating

Thousands separator

Re: Plotting electric field in 3D

$
0
0

Richard Jackson wrote:

 

Graphing in Prime is extremely weak. 3D plots are even worse than 2D plots.

Fully agreed on.

But on the other side it should be much easier to implement what Stuart had done so ingeniously in Mathcad, because points and polygons don't need a that much nested data representation and most of all we can separate different polygons by NaN in Prime which unfortunately was not allowed in good old(?) Mathcad and forced Stuart to generate 3 independent 3D-plots for every single arrow.

But given the many drawbacks and weaknesses in Prime's 3D plots, the results would by far not look that good.

 

WE

How to do FFT/continouse Fourier analysis for a tabulated data (time vs amplitude)?

$
0
0

Hi,

 

I want to do Fourier analysis of a signal which is available to me as a sampled data (sampling frequency is much higher than the signals frequency), and time & sampled data is tabulated in excel file. Consider that I do not have a formula which can define the signal  as a function of time.

 

Is it possible in Mathcad to do the Fourier analysis for this signal?

 

If yes,

how to do this?

Is there  any limitation in number of data points to perform FFT. ( Excel has limitation of 4096 data points.)

 

Please find the attached file as an example for signal to be analyzed .  

 

Thanks.

Manish Kumar


Re: Mathcad Prime 3.1, 4 and 5 Lack of features

$
0
0

Mark,

 

I am with you about MatLAB.  It seems to be a retrograde step, particularly for passing maths on as it is not easy to read.  I have been told that they are releasing a graphical interface.  At least maths would then look like maths!  For teaching and communicating ideas that is highly important.  I am with everybody else, despairing at the incredible arrogance of PTC.

Re: How to do FFT/continouse Fourier analysis for a tabulated data (time vs amplitude)?

$
0
0

Sure, mathcad can do that. See here for a recent post on FFT Can MathCAD do Discrete Fourier Transforms of a waveform?

But if you take the time to search this forum you will find lots of information on doing fft and their inverse with Mathcad.

Depending on the FFT function you choose (fft, FFT, cfft or CFFT) you are either limited by having the number of samples limited to a power of 2, or not. The other limitation is the maximum array size (over a million) and amount of memory in you PC.

 

Succes!

Luc

Insert > Reference using a Variable

$
0
0

Hi!

 

I would like to ask if it is possible or if there is any workaround to passing a file path to a variable then using this variable for the Insert > Reference feature?

 

For example, my file is located at "C:\sample.xmcd".

 

I would like to assign it to a variable that:

 

FilePath:="C:\sample.xmcd"

 

Then use this file path for Insert > Reference > Insert Reference to File in another worksheet.

 

This is because I have some user-defined functions defined in sample.xmcd that I would like to call in another worksheet.

 

If this is not possible, is there any other way to reference user-defined functions?

 

Please note that hiding the functions in the worksheet is not an option. So is defining those user-defined functions in the same worksheet.

 

Thanks and best regards!

Re: Change in appearance of vertical lines in Prime 3

$
0
0

In my Win 7 .NET 4.6.1 version installed after the recent "Windows Update" utility running.

Re: Insert > Reference using a Variable

$
0
0

I assume you want to use this in mathcad 15 (or less), rather than Prime.

 

The purpose of the 'insert reference' functionality is that you can have definitions (of variables and functions) in another 'reference' worksheet for use in a calling worksheet. So it is already possible  to use "user-defined functions defined in sample.xmcd that I would like to call in another worksheet".

You can point to the reference file either relative (to the calling woksheet's location) or absolute (as in "C:\sample.xmcd").

 

However the feature of pointing to the reference worksheet as you describe using a variable's value is not standard, it may be possible via a scriptable component, but I'm no expert an that subject.

 

But, what is wrong with just inserting the reference in the worksheet where you want to use it...

Or is it that, on the basis of certain decisions or outcome, you want to choose between e.g. sample1.xmcd and sample2.xmcd?

 

Success!
Luc

Re: How to do FFT/continouse Fourier analysis for a tabulated data (time vs amplitude)?

Re: How to create inverse units [e.g. /dBm(x)] in Mathcad Prime?

$
0
0

The Prime shortcut for special characters is different than Mathcad 15.0 (Ctrl-Shift-K).  First, type a double quote (which in 15 gave you text, but not in prime).

 

     ""

 

In between the double quotes, type /dB

 

     "/dB"

 

Now delete either of the quote marks and follow this variable with a parenthesis to make it a function

 

     /dB( x )

 

Press : and define the function.

 

In Mathcad 15, you could make this a postfix operator, but these aren't implemented in Prime yet.


Re: How to do FFT/continouse Fourier analysis for a tabulated data (time vs amplitude)?

Re: How to create inverse units [e.g. /dBm(x)] in Mathcad Prime?

$
0
0

Yes I agree that dB shouldn't be needed for automated calculation, since dB is a shortcut created for easier (human) calculation. But in RF and sonar all of the standard formulas are centered around dB, dBm, dB re 1uPa, etc so it would be nice to be able to use those units within Mathcad.

Re: How to create inverse units [e.g. /dBm(x)] in Mathcad Prime?

$
0
0

The good news: this trick (using quotes) worked, and I could enter the formula exactly as you said.

The bad news: mathcad still doesn't appear to be treating this as an inverse function; even when I do declare /dB(x) I still get the error no_inverse_declared. Unfortunately I think Richard Jackson hit the nail on the head.

Re: Insert > Reference using a Variable

$
0
0

I assume you want to use this in mathcad 15 (or less), rather than Prime.

Yes, I am using Mathcad 15.

But, what is wrong with just inserting the reference in the worksheet where you want to use it...

Or is it that, on the basis of certain decisions or outcome, you want to choose between e.g. sample1.xmcd and sample2.xmcd?

Yes, I want to be able to select the Mathcad file from which I can use the reference from.

Re: Insert > Reference using a Variable

$
0
0

Richard Jackson wrote:

 

it may be possible via a scriptable component

Unfortunately, no.

I see. If that's the case, at least I'm able to eliminate one way that would not work.

 

Can you suggest any workaround to make this possible?

Viewing all 9237 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>