Contour Integral Dummy Style

Contour Integral Dummy Style - Contour Integral Dummy Style - Messages

#1 Posted: 12/10/2018 1:39:00 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Can't manage this otherwise than shitting bricks !
Solution is welcomed ... Thanks

ContourIntegral.PNG

Done otherwise to rescue the Document.

Inst_PID Discrete Schema EXAMPLE_6 Failed.sm (36 KiB) downloaded 31 time(s).
#2 Posted: 12/10/2018 2:15:29 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Tiny fix
Inst_PID Discrete Schema EXAMPLE_6.sm (39 KiB) downloaded 37 time(s).
1 users liked this post
frapuano 12/10/2018 4:55:00 PM
#3 Posted: 12/10/2018 3:55:07 PM
Arie

Arie

93 likes in 285 posts.

Group: User

Wrote

Can't manage this otherwise than shitting bricks !
Solution is welcomed ... Thanks


Done otherwise to rescue the Document.

Inst_PID Discrete Schema EXAMPLE_6 Failed.sm (36 KiB) downloaded 31 time(s).



In order to pass functions as inputs to other functions you need to declare it as such and pass a "dummy" variable. See following.
There is still a problem in that it is not evaluating properly, I believe.


Untitled.png

Inst_PID Discrete Schema EXAMPLE_6_Partlyfixed..sm (44 KiB) downloaded 24 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 users liked this post
frapuano 12/10/2018 4:55:00 PM
#4 Posted: 12/10/2018 8:29:36 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

fixed

Inst_PID Discrete Schema EXAMPLE_6 - fixed.sm (46 KiB) downloaded 35 time(s).

2018-12-11 00_34_33-SMath Studio - [Inst_PID Discrete Schema EXAMPLE_6 - fixed.sm].png


  • removed answer requested for first argument of the last system;
  • used f(number_of_arguments) function of function argument (more elegant, point out that the variable name doesn't matter);



P.S. To obtain similar results, change the integration accuracy to something higher than 100

2018-12-11 00_53_52-SMath Studio - [Inst_PID Discrete Schema EXAMPLE_6 - fixed.sm_].png
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
Arie 12/10/2018 8:37:00 PM
#5 Posted: 12/10/2018 11:05:36 PM
Arie

Arie

93 likes in 285 posts.

Group: User

Wrote

fixed


  • removed answer requested for first argument of the last system;
  • used f(number_of_arguments) function of function argument (more elegant, point out that the variable name doesn't matter);





Dumb question maybe, but how do you get the '#' to show up in the H(#) function call?
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#6 Posted: 12/11/2018 12:50:47 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Dumb question maybe, but how do you get the '#' to show up in the H(#) function call?



As simple as that: x(n,X(▄)) ... simply the native dummy argument
big square imitation Alt220 ... try it.

Thanks all you Doctors ! Just refreshing that huge collection
of PID examples, coming soon.

Jean
#7 Posted: 12/11/2018 1:04:47 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... like this:

Dummy.PNG
#8 Posted: 12/11/2018 4:44:48 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Wrote

Dumb question maybe, but how do you get the '#' to show up in the H(#) function call?



CTRL+K then #

:d

Wrote

big square imitation Alt220



another option, yes
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#9 Posted: 12/13/2018 7:02:18 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. This is the setup for use inverse laplace transform for numerically evaluate the response for a system in z domain.
Best regards.
Alvaro.
pid_controler z.sm (50 KiB) downloaded 36 time(s).
Clipboard1.gif
1 users liked this post
frapuano 12/13/2018 7:41:00 PM
  • New Posts New Posts
  • No New Posts No New Posts