Contour Integral Dummy Style

Contour Integral Dummy Style - Contour Integral Dummy Style - 消息

#1 已发布: 2018/12/10 13:39:00
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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.61 KiB)已下载 1271 次。
#2 已发布: 2018/12/10 14:15:29
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Tiny fix
Inst_PID Discrete Schema EXAMPLE_6.sm (39.17 KiB)已下载 1234 次。
1位用户喜欢此帖子
frapuano 2018/12/10 16:55:00
#3 已发布: 2018/12/10 15:55:07
Arie

Arie

94个赞,共285个帖子。

组: 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.61 KiB)已下载 1271 次。



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.75 KiB)已下载 1264 次。
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1位用户喜欢此帖子
frapuano 2018/12/10 16:55:00
#4 已发布: 2018/12/10 20:29:36
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

fixed

Inst_PID Discrete Schema EXAMPLE_6 - fixed.sm (46.19 KiB)已下载 1293 次。

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位用户喜欢此帖子
Arie 2018/12/10 20:37:00
#5 已发布: 2018/12/10 23:05:36
Arie

Arie

94个赞,共285个帖子。

组: 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 已发布: 2018/12/11 00:50:47
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2018/12/11 01:04:47
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

... like this:

Dummy.PNG
#8 已发布: 2018/12/11 04:44:48
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2018/12/13 19:02:18
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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)已下载 1271 次。
Clipboard1.gif
1位用户喜欢此帖子
frapuano 2018/12/13 19:41:00
  • 有新帖
  • 无新帖