Trajektorien einzeichnen

In vorgängig besprochenes Vektorfeld werden Trajektorien zu drei verschiedenen Anfangsbedingungen rot (“cr”, color red) eingezeichnet (x(0)=0,y(0)=5;y(0)=10;y(0)=15):

octave:69> t = linspace(0,2*pi,100)'; 
octave:70> quiver(x,y,-y./z,x./z)
octave:71> hold off
octave:72> quiver(x,y,-y./z,x./z)
octave:73> t = linspace(0,2*pi,100)'; 
octave:74> circsx = 10.*cos(t); 
octave:75> circsy = 10.*sin(t); 
octave:76> hold on
octave:77> plot(circsx,circsy,"cr");
octave:78> circsx = 5.*cos(t); 
octave:79> circsy = 5.*sin(t); 
octave:80> plot(circsx,circsy,"cr");
octave:81> circsx = 15.*cos(t); 
octave:82> circsy = 15.*sin(t); 
octave:83> plot(circsx,circsy,"cr");

Resultat:

vectorfield3

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.