Rossler Attractor

From 3D Printables

Jump to: navigation, search
Lorenz Attractor

Contents

Equations

The equations that govern the Rossler attractor are:









Creating the data points

The data points were created using Matlab

First create a function

function xdot=rossler(t,x)

a=.2; b=.2; c = 5.7;

xdot=[-x(2)-x(3);

x(1)+a*x(2);

b+x(3)*(x(1)-c)];

In the Command Window

Set Initial Conditions

x0=[-8 8 0]

tspan =[0:100]

Solve

[t,x]=ode45(@rossler,tspan,x0)

This outputs 3 columns [x,y,z], place these columns into a text file and import that file into STL Generator

Plot

To check that the data points are correct you can plot these points

plot3(x(:,1),x(:,2),x(:,3))

Downloads

Resources

Personal tools