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 mb10  
#1 Posted : 05 October 2013 15:10:09(UTC)
mb10


Rank: Member

Groups: Registered
Joined: 27/08/2013(UTC)
Posts: 19
Italy

Was thanked: 9 time(s) in 5 post(s)
A general purpose, simple ODE solver function that uses Euler integration to simulate (possibly non-linear) multi-inputs dynamic systems, with "embedded" provision for state feedback controller.
In its most general form, the function implements a system of the form:



where dot notation indicates time derivative.
A few examples are provided.

Edited by user 08 October 2013 15:35:39(UTC)  | Reason: Added function for discrete time systems.

File Attachment(s):
DynSys_v01.sm (227kb) downloaded 199 time(s).
thanks 3 users thanked mb10 for this useful post.
on 05/10/2013(UTC),  on 06/10/2013(UTC),  on 06/10/2013(UTC)

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

Offline mkraska  
#2 Posted : 06 October 2013 03:01:52(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1126 time(s) in 723 post(s)
I like the way to plot vectors, was not aware of this.
mkraska attached the following image(s):
plot.PNG
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline mb10  
#3 Posted : 06 October 2013 09:56:00(UTC)
mb10


Rank: Member

Groups: Registered
Joined: 27/08/2013(UTC)
Posts: 19
Italy

Was thanked: 9 time(s) in 5 post(s)
It is an (undocumented?) feature I discovered by chance.
Notice the "staircased" behaviour.

The X-Y plot plug-in has a similar property: in that case it seems that ANY variable name, not just "x", can be used as a subscript to obtain vector plot.
thanks 1 user thanked mb10 for this useful post.
on 06/10/2013(UTC)
Offline mkraska  
#4 Posted : 06 October 2013 17:28:59(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1126 time(s) in 723 post(s)
Originally Posted by: mb10 Go to Quoted Post
It is an (undocumented?) feature.

Not undocumented any more. SVN Activebook updated.
File Attachment(s):
Section 2D plots XY Plot Plugin.sm (59kb) downloaded 138 time(s).
Section 2D plots built-in.sm (37kb) downloaded 104 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 2 users thanked mkraska for this useful post.
on 06/10/2013(UTC),  on 06/10/2013(UTC)
Offline mb10  
#5 Posted : 08 October 2013 15:39:56(UTC)
mb10


Rank: Member

Groups: Registered
Joined: 27/08/2013(UTC)
Posts: 19
Italy

Was thanked: 9 time(s) in 5 post(s)
Attachment updated with a function for handling discrete time systems (see 1st post).
Users browsing this topic
Guest
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.