Tehtävä 5, Lorenz'n attraktori ============================== Tehdään Matlab-funktio: (ei nimelle lorenz) function yp=lrenz(t,y) yp=[...; ...; ...]; xyz0=[20;20;30];[T,Y]=ode23('lrenz',0,2,xyz0); plot(T,Y) % Aikariippuvuus figure; % uusi ikkuna plot3(Y(:1),Y(:,2),Y(:,3)) % Faasiavaruus Sitten yritetään etsiä sopivia alkuarvoja, katselusuuntaa jne. (kannattaa yritellä aika läheltä tasapainopisteitä). Lopuksi voi ihailla valmista Matlab-demoa komennolla ============ lorenz INFO-nappulasta saa seuraavan tekstin: This demo animates the integration of the three coupled nonlinear differential equations that define the "Lorenz Attractor", a chaotic system first described by Edward Lorenz of the Massachusetts Institute of Technology. As the integration proceeds you will see a point moving around in a curious orbit in 3-D space known as a strange attractor. The orbit is bounded, but not periodic and not convergent (hence the word "strange"). Use the "Start" and "Stop" buttons to control the animation.