Signals and Systems

Signals and Systems - Example of use of SMath for signals and systems analysis - Messaggi

#1 Pubblicato: 29/05/2012 16:14:49
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

Hi, this is a snippet for numerical inverse Laplace transform. You can find time response of a system expresed in F(s) form.

enjoy


Inverse numerical Laplace


Download it here

Regards,

Oscar Campo
3 utenti hanno apprezzato questo post
kmihaylovich 30/05/2012 02:28:00, Davide Carpi 29/05/2012 18:13:00, Radovan Omorjan 30/05/2012 03:00:00
#2 Pubblicato: 30/05/2012 03:09:26
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: Moderator

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:

Function<->variable

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 utenti hanno apprezzato questo post
Davide Carpi 30/05/2012 07:29:00
#3 Pubblicato: 30/05/2012 07:10:43
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

Yes, it's something that I found accidentally. The statement ft(F(s)) appear as a function, but it's a matrix!

Oscar
#4 Pubblicato: 30/05/2012 15:18:43
Basile

Basile

8 apprezzamenti in 172 post.

Gruppo: User

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
#5 Pubblicato: 30/05/2012 15:53:17
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: Super Administrator

[USERLINK]Basile[/USERLINK], you need to define a function to work with as shown in the first message.

Wrote

numerical inverse Laplace Transform



Regards.
#6 Pubblicato: 31/05/2012 21:25:59
Basile

Basile

8 apprezzamenti in 172 post.

Gruppo: User

Thank you Andrey,

Basile
#7 Pubblicato: 31/05/2012 21:28:48
Basile

Basile

8 apprezzamenti in 172 post.

Gruppo: User

Oscar,

Which Numerical Inverse Laplace Transform do you use?
Any reference?

Thank you,
Basile
#8 Pubblicato: 01/06/2012 09:24:33
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

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
1 utenti hanno apprezzato questo post
Davide Carpi 01/06/2012 09:32:00
#9 Pubblicato: 01/06/2012 17:29:58
Basile

Basile

8 apprezzamenti in 172 post.

Gruppo: User

Oscar,

Thank you,

Basile
#10 Pubblicato: 04/06/2012 19:47:33
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

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.

Bode Plot

Download it here: MyBode3.sm (30,31 KiB) scaricato 1337 volta(e).
#11 Pubblicato: 05/06/2012 15:02:37
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

Root Locus Snippet

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

rlocus

Download it here

Oscar
#12 Pubblicato: 25/08/2017 13:22:41
Leandro de Oliveira

Leandro de Oliveira

0 apprezzamenti in 1 post.

Gruppo: User

The file seems to be locked, I can't put a equation.
#13 Pubblicato: 25/08/2017 17:02:19
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

.. here is the Bode Plot.

Bode plot.sm (27,47 KiB) scaricato 1505 volta(e).
2 utenti hanno apprezzato questo post
Viktor 15/11/2017 19:30:00, Oscar Campo 27/08/2017 03:21:00
#14 Pubblicato: 25/08/2017 18:44:35
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Wrote

The 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 Pubblicato: 26/08/2017 09:01:49
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Hi, this is a snippet for numerical inverse Laplace transform. You can find time response of a system expressed in F(s) form. enjoy


=================
This 5 years old document does not work 6179.
Here is the Maple companion.

Laplace 5Years.PNG

#16 Pubblicato: 27/08/2017 10:46:55
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

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)

InvLaplace update.png




You can download the updated version from here

1 utenti hanno apprezzato questo post
Davide Carpi 28/08/2017 13:28:00
#17 Pubblicato: 28/08/2017 11:01:53
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

You 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 Pubblicato: 28/08/2017 11:32:53
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

Wrote


... that's only several pages long of HTML code.
No work sheet. Best is to upload WS in the forum.



Use "save as"

Citazione


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 utenti hanno apprezzato questo post
Davide Carpi 28/08/2017 13:28:00
#19 Pubblicato: 28/08/2017 13:04:34
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Win 7 does not have the virtue to save HTML "save as" *.sm
OK: no work sheet => nothing to see. Tanks anyway.

Cheers, Jean
#20 Pubblicato: 28/08/2017 13:24:42
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Wrote

Win 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 utenti hanno apprezzato questo post
Oscar Campo 28/08/2017 14:23:00
  • Nuovi post
  • Nessun nuovo post