Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
The problem is shown as this. I want to get the time domain response resp(t) after sig(t) goes through the transfer function H(s).
In matlab, it is easy to realize the time domain analysis using the code:
num=[3];
den=[1,2,3];
[u,t]=gensig('square',20);
lsim(num,den,u,t);
How can I realize it in Mathcad Prime? Thank you.
Solved! Go to Solution.
You could use the Heaviside step function and the modulo function to define your signal in time domain,
but unfortunately Primes symbolics is not able to do a laplace transform of this signal.
So one way would be to resort to an approximation by simply using just a finite number of rectangles:
I am using Prime 6 and the "new" symbolic engine (the only one available starting with Prime 7) is still not able to do a laplace transform of this signal, while the legacy symbolic engine (muPad, only available in Prime 6 and below) is able to find a laplace transform.
But as far as I know the new symbolic engine was improved by PTC and chances are that in newer versions of Prime (7 or 8 ) its capable enough.
Here are the result of the legacy symbolics in Prime 6:
I attach the Prime 6 sheet. If you open it, you will the results given by Prime 6 and the old symbolics. As soon as you recalculate the sheet you will see if your version of Prime with the new symbolic engine is already capable to do its jobs.
You could use the Heaviside step function and the modulo function to define your signal in time domain,
but unfortunately Primes symbolics is not able to do a laplace transform of this signal.
So one way would be to resort to an approximation by simply using just a finite number of rectangles:
I am using Prime 6 and the "new" symbolic engine (the only one available starting with Prime 7) is still not able to do a laplace transform of this signal, while the legacy symbolic engine (muPad, only available in Prime 6 and below) is able to find a laplace transform.
But as far as I know the new symbolic engine was improved by PTC and chances are that in newer versions of Prime (7 or 8 ) its capable enough.
Here are the result of the legacy symbolics in Prime 6:
I attach the Prime 6 sheet. If you open it, you will the results given by Prime 6 and the old symbolics. As soon as you recalculate the sheet you will see if your version of Prime with the new symbolic engine is already capable to do its jobs.
Tnx, as I had it in my mind from some previous posts here in the forum - the problems with fourier- and invfourier transform seem to have been fixed in the current Prime versions.