Signals and Systems

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

#1 Publicado: 29/5/2012 16:14:49
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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
A 3 usuarios les gustó este mensaje
kmihaylovich 30/5/2012 2:28:00, Davide Carpi 29/5/2012 18:13:00, Radovan Omorjan 30/5/2012 3:00:00
#2 Publicado: 30/5/2012 3:09:26
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: 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!"
A 1 usuarios les gustó este mensaje
Davide Carpi 30/5/2012 7:29:00
#3 Publicado: 30/5/2012 7:10:43
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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 Publicado: 30/5/2012 15:18:43
Basile

Basile

8 me gusta en 172 mensajes.

Grupo: 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 Publicado: 30/5/2012 15:53:17
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: 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 Publicado: 31/5/2012 21:25:59
Basile

Basile

8 me gusta en 172 mensajes.

Grupo: User

Thank you Andrey,

Basile
#7 Publicado: 31/5/2012 21:28:48
Basile

Basile

8 me gusta en 172 mensajes.

Grupo: User

Oscar,

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

Thank you,
Basile
#8 Publicado: 1/6/2012 9:24:33
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
Davide Carpi 1/6/2012 9:32:00
#9 Publicado: 1/6/2012 17:29:58
Basile

Basile

8 me gusta en 172 mensajes.

Grupo: User

Oscar,

Thank you,

Basile
#10 Publicado: 4/6/2012 19:47:33
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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) descargado 1329 vez(es).
#11 Publicado: 5/6/2012 15:02:37
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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 Publicado: 25/8/2017 13:22:41
Leandro de Oliveira

Leandro de Oliveira

0 me gusta en 1 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

.. here is the Bode Plot.

Bode plot.sm (27,47 KiB) descargado 1501 vez(es).
A 2 usuarios les gustó este mensaje
Viktor 15/11/2017 19:30:00, Oscar Campo 27/8/2017 3:21:00
#14 Publicado: 25/8/2017 18:44:35
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 26/8/2017 9:01:49
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 27/8/2017 10:46:55
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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

A 1 usuarios les gustó este mensaje
Davide Carpi 28/8/2017 13:28:00
#17 Publicado: 28/8/2017 11:01:53
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 28/8/2017 11:32:53
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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"

Citar


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
A 1 usuarios les gustó este mensaje
Davide Carpi 28/8/2017 13:28:00
#19 Publicado: 28/8/2017 13:04:34
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 28/8/2017 13:24:42
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
Oscar Campo 28/8/2017 14:23:00
  • Nuevos mensajes
  • Sin mensajes nuevos