Professional Documents
Culture Documents
Chaotic Web Simulation Laboratory Application
Chaotic Web Simulation Laboratory Application
1
MATLAB and then deploy them as components in .NET and COM
The Lorenz system is a model of convection (i.e., heat transfer) environments. You can use the high-level, matrix-optimized language
in the atmosphere. The dynamics (i.e., changes in states) of the and test your applications. Once the applications are complete, you
Lorenz model can be characterized with three first order can use the builder to automatically package them as components
differential equations, and integrate them in .NET and COM applications.
To deploy your component, you first install the MCR on the target
.
x1 ( x x ) machine. The MCR is the full set of shared libraries required for
2 1 executing MATLAB based components. It provides complete
. support for all features of the MATLAB language and most related
x rx1 x 2 x1 x3 toolboxes.After instantiating an object from a MATLAB based
2 (1) component, you can access the object methods just as you access the
. methods of any other COM or .NET class. COM and .NET data
bx 3 x1 x 2 types passed to MATLAB functions are automatically converted to
x3
MATLAB data types. Hie builder also provides data conversion
classes for manually converting data and managing output data, as
well as an interface that converts MATLAB data types into .NET
Where X, Y, and Z correspond to the three dynamical variables native data types[6].
(corresponding to two temperature measures and a velocity
measure), the over-dot corresponds to the rate of change (i.e., 6.CHAOTIC WEB SIMULATION LABORATORY
derivative) of the variable in question, and a, b, and c are APPLICATION
constant parameters. What makes the Lorenz system a complex,
nonlinear system is the interaction Chaotic Web Simulation Applications Main Page involves
of the three dynamical variables. As can be seen in Equations simulation of basic chaotic models under given initial conditions
above, changes in X are dependent not only upon the value of X, (Fig.1). This web application runs at an intranet network server,
but also upon the values of Y and Z. Therefore, the influences of this server only should have MATLAB core engine, not
the variables X, Y, and Z on the current state of the system are commercial toolboxes. In this study, we state our Web
not independent and additive, but are instead mutually Simulation Application on our intranet servers .
dependent and multiplicative. The interactive nature of
dimensions along which a system may change embodies the
complexity of nonlinear systems and is also the key to
quantifying systems with unknown or unmeasured dynamical
variables[5].
One can reference MATLAB based .NET and COM components as The Lorenz attractor could be generated only by numerical
one would any other .NET assembly and COM object, for easy approximations on a computer, as shown (Fig. 2-Fig.5). Now we
integration with existing applications. The components created by have a rigorous proof that confirms its existence.
the builder run against the MATLAB Compiler Runtime (MCR), the
full set of shared libraries that support MATLAB. The MCR is Figure-2 shows x-y portrait of Lorenz System Attractor
provided with MATLAB Compiler. To run .NET and COM
components, it must be distributed the MCR with them.
Components created in MATLAB and the MCR can be deployed
royalty-free.
For Web applications, the builder provides AJAX-based zoom,
pan, and rotate controls for figures created in MATLAB and an API
for automatically converting between .NET or COM data types
and MATLAB data types. Together, MATLAB, MATLAB Compiler,
and MATLAB Builder NE enable you to develop applications using
2
Figure 4. Lorenz Simulation Web Page-3
Figure 2. Lorenz Simulation Web Page-1
The geometry of the attractor is closely related to the ‘flow’ of
The Lorenz System’s x-y-z attractor obtained using state equations
the equations that the curves corresponding to solutions of the
by Matlab modeling under initial conditions, a=0.5, x0=0.001,
differential equations. There is an unstable equilibrium, a saddle
y0=0.001, and z0=0.
point, at the origin. The curves repeatedly pass this point, and
are pushed away to the left or right, only to circle
Figure-3 shows x-z portrait of Lorenz System Attractor
round to pass back by the saddle. As they loop back, adjacent
curves are pulled apart. This is how the unpredictability is
created and can end up on either side of the saddle. The result is
an apparently random sequence of loops to the left and right.
3
of MATLAB engine. Subsequent study proposal might be on a
real-time web control and web analysis for a chaotic oscillator
circuit.
8.REFERENCES