Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 249 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
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 hereRegards, Oscar Campo
|
3 users thanked oscampo for this useful post.
|
on 30/05/2012(UTC), on 30/05/2012(UTC), on 30/05/2012(UTC)
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
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 |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
1 user thanked omorr for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 249 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
Yes, it's something that I found accidentally. The statement ft(F(s)) appear as a function, but it's a matrix!
Oscar
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
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
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
Basile
, you need to define a function to work with as shown in the first message. Originally Posted by: oscampo Regards.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
Oscar,
Which Numerical Inverse Laplace Transform do you use? Any reference?
Thank you, Basile
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 249 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
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 user thanked oscampo for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 249 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
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 hereEdited by user 25 November 2019 18:33:45(UTC)
| Reason: links updated
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 249 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
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 hereOscar Edited by user 25 November 2019 18:37:55(UTC)
| Reason: links updated
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 25/08/2017(UTC) Posts: 1
|
The file seems to be locked, I can't put a equation.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
.. here is the Bode Plot. Bode plot.sm (28kb) downloaded 151 time(s).
|
2 users thanked Jean Giraud for this useful post.
|
on 27/08/2017(UTC), on 16/11/2017(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1332 time(s) in 876 post(s)
|
Originally Posted by: Leandro de Oliveira 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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: oscampo 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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 249 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
Originally Posted by: Jean Giraud ================= 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
Edited by moderator 28 August 2017 19:27:40(UTC)
| Reason: edited dropbox link to direct download
|
1 user thanked oscampo for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: oscampo 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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 249 Location: Cali, Colombia Was thanked: 87 time(s) in 66 post(s)
|
Originally Posted by: Jean Giraud ... 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 user thanked oscampo for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Win 7 does not have the virtue to save HTML "save as" *.sm OK: no work sheet => nothing to see. Tanks anyway.
Cheers, Jean
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1332 time(s) in 876 post(s)
|
Originally Posted by: Jean Giraud 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. Edited by user 28 August 2017 19:26:58(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.