Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 275 Was thanked: 91 time(s) in 57 post(s)
|
Originally Posted by: Jean Giraud 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. Inst_PID Discrete Schema EXAMPLE_6_Partlyfixed..sm (45kb) downloaded 9 time(s). |
|
1 user thanked alyles for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
fixed Inst_PID Discrete Schema EXAMPLE_6 - fixed.sm (47kb) downloaded 17 time(s).- 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 Edited by user 11 December 2018 02:56:10(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.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 275 Was thanked: 91 time(s) in 57 post(s)
|
Originally Posted by: Davide Carpi 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? |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: alyles 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
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
... like this:
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
Originally Posted by: alyles Dumb question maybe, but how do you get the '#' to show up in the H(#) function call? CTRL+K then # Originally Posted by: Jean Giraud big square imitation Alt220 another option, yes Edited by user 11 December 2018 10:47:21(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 |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
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 (50kb) downloaded 13 time(s).
|
1 user thanked Razonar 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.