Signals and Systems - Example of use of SMath for signals and systems analysis - Messages
#1 Posted: 5/29/2012 4:14:49 PM
Hi, this is a snippet for numerical inverse Laplace transform. You can find time response of a system expresed in F(s) form.
enjoy

Download it here
Regards,
Oscar Campo
enjoy

Download it here
Regards,
Oscar Campo
3 users liked this post
kmihaylovich 5/30/2012 2:28:00 AM, Davide Carpi 5/29/2012 6:13:00 PM, Radovan Omorjan 5/30/2012 3:00:00 AM
#2 Posted: 5/30/2012 3:09:26 AM
Hello Oscar,
Thank you for this example
By the way, I find very interesting that you defined an expression in this way an then plot it:

ft() looks like a function, but it is not.
Regards,
Radovan
Thank you for this example

By the way, I find very interesting that you defined an expression in this way an then plot it:

ft() looks like a function, but it is not.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
Davide Carpi 5/30/2012 7:29:00 AM
#3 Posted: 5/30/2012 7:10:43 AM
Yes, it's something that I found accidentally. The statement ft(F(s)) appear as a function, but it's a matrix!
Oscar
Oscar
#4 Posted: 5/30/2012 3:18:43 PM
Hello,
I tried to open it using the latest SMath.
I get an error message in the last FOR loop: "Function not defined"
Thanks,
Basile
I tried to open it using the latest SMath.
I get an error message in the last FOR loop: "Function not defined"
Thanks,
Basile
#5 Posted: 5/30/2012 3:53:17 PM
[USERLINK]Basile[/USERLINK], you need to define a function to work with as shown in the first message.
Regards.
Wrote
Regards.
#7 Posted: 5/31/2012 9:28:48 PM
Oscar,
Which Numerical Inverse Laplace Transform do you use?
Any reference?
Thank you,
Basile
Which Numerical Inverse Laplace Transform do you use?
Any reference?
Thank you,
Basile
#8 Posted: 6/1/2012 9:24:33 AM
Hi Basile,
The method is based on work of J. Valsa and L. Brancik: Approximate Formulae for Numerical Inversion of Laplace Transforms, Int. Journal of Numerical Modelling: Electronic Networks, Devices and Fields, Vol. 11, (1998), pp. 153-166
Regards,
Oscar
The method is based on work of J. Valsa and L. Brancik: Approximate Formulae for Numerical Inversion of Laplace Transforms, Int. Journal of Numerical Modelling: Electronic Networks, Devices and Fields, Vol. 11, (1998), pp. 153-166
Regards,
Oscar
1 users liked this post
Davide Carpi 6/1/2012 9:32:00 AM
#10 Posted: 6/4/2012 7:47:33 PM
Bode Diagram Revisited.
This is a function for graphing the Bode plot of a system. Please plot the magnitude and phase on a diferent graph each one, deactivate "grid" and "axis" for a better visualization of logarithmic grid.

Download it here: MyBode3.sm (30 KiB) downloaded 61 time(s).
This is a function for graphing the Bode plot of a system. Please plot the magnitude and phase on a diferent graph each one, deactivate "grid" and "axis" for a better visualization of logarithmic grid.

Download it here: MyBode3.sm (30 KiB) downloaded 61 time(s).
#11 Posted: 6/5/2012 3:02:37 PM
Root Locus Snippet
This is a snippet for plotting Root Locus of a sistem. The input is the denominator of coefficients of transfer function:

Download it here
Oscar
This is a snippet for plotting Root Locus of a sistem. The input is the denominator of coefficients of transfer function:

Download it here
Oscar
#12 Posted: 8/25/2017 1:22:41 PM
The file seems to be locked, I can't put a equation.
#14 Posted: 8/25/2017 6:44:35 PM
WroteThe file seems to be locked, I can't put a equation.
Open the file in SMath Studio and then go to File > Properties > File Attributes and uncheck Read-only. This attribute is required when the worksheet is designed to be a snippet.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#15 Posted: 8/26/2017 9:01:49 AM
#16 Posted: 8/27/2017 10:46:55 AM
Wrote
=================
This 5 years old document does not work 6179.
Only a very little detail to fix this 5 years old document: declare F(s) and change the last line on snippet:
ft( "F(s" ) = augment(t,ft)
for
ft() = augment(t,ft)
You can download the updated version from here
1 users liked this post
Davide Carpi 8/28/2017 1:28:00 PM
#17 Posted: 8/28/2017 11:01:53 AM
WroteYou can download the updated version from here
... that's only several pages long of HTML code.
No work sheet. Best is to upload WS in the forum.
For "Laplace stuff", better use maple(,) as show above.
Cheers, Jean
#18 Posted: 8/28/2017 11:32:53 AM
Wrote
... that's only several pages long of HTML code.
No work sheet. Best is to upload WS in the forum.
Use "save as"
Quote
For "Laplace stuff", better use maple(,) as show above.
Yes, and also it’s possible use f(t)=Maxima(ilt(F(s),s,t)) but it’s interesting show how you can implement inverse Laplace of a function in SMath.
P.D. The symbolic form of f(t) obtained from ilt() it’s more “elegant” than maple version

1 users liked this post
Davide Carpi 8/28/2017 1:28:00 PM
#19 Posted: 8/28/2017 1:04:34 PM
Win 7 does not have the virtue to save HTML "save as" *.sm
OK: no work sheet => nothing to see. Tanks anyway.
Cheers, Jean
OK: no work sheet => nothing to see. Tanks anyway.
Cheers, Jean
#20 Posted: 8/28/2017 1:24:42 PM
WroteWin 7 does not have the virtue to save HTML "save as" *.sm
You can if you use firefox (with chrome you have to change the extension manually from .txt to .sm);
However I've edited the link, now it downloads the file, whatever is your favorite browser.

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Oscar Campo 8/28/2017 2:23:00 PM
-
New Posts
-
No New Posts