Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Jean Giraud  
#1 Posted : 10 December 2018 19:39:00(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
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 (37kb) downloaded 15 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Ber7  
#2 Posted : 10 December 2018 20:15:29(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
Tiny fix
Inst_PID Discrete Schema EXAMPLE_6.sm (40kb) downloaded 17 time(s).
thanks 1 user thanked Ber7 for this useful post.
on 10/12/2018(UTC)
Offline alyles  
#3 Posted : 10 December 2018 21:55:07(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 (37kb) downloaded 15 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 (45kb) downloaded 9 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
thanks 1 user thanked alyles for this useful post.
on 10/12/2018(UTC)
Offline Davide Carpi  
#4 Posted : 11 December 2018 02:29:36(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
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).

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

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
thanks 1 user thanked Davide Carpi for this useful post.
on 11/12/2018(UTC)
Offline alyles  
#5 Posted : 11 December 2018 05:05:36(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 275
United States

Was thanked: 91 time(s) in 57 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
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
Offline Jean Giraud  
#6 Posted : 11 December 2018 06:50:47(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: alyles Go to Quoted Post
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
Offline Jean Giraud  
#7 Posted : 11 December 2018 07:04:47(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
... like this:

Dummy.PNG
Offline Davide Carpi  
#8 Posted : 11 December 2018 10:44:48(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: alyles Go to Quoted Post
Dumb question maybe, but how do you get the '#' to show up in the H(#) function call?


CTRL+K then #

Biggrin

Originally Posted by: Jean Giraud Go to Quoted Post
big square imitation Alt220


another option, yes Good

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
Offline Razonar  
#9 Posted : 14 December 2018 01:02:18(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

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).
Clipboard1.gif
thanks 1 user thanked Razonar for this useful post.
on 14/12/2018(UTC)
Users browsing this topic
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.