Coder Social home page Coder Social logo

azimuthproject's People

Watchers

 avatar

Forkers

azimuth-project

azimuthproject's Issues

Discrepancy of the Hopf-Bifurcation SDE and Matlab, noise level seems to be different

I think Simulink is the ideal tool to do these kind of simulations, however, 
this is the quick and dirty Matlab code to do this, if anyone wants to try:

beta=1;lambda=0.1;

dv=@(t,v) [-v(2);v(1)]+beta*v-vโ€™*v*v+lambda*randn(2,1);

[t,v]=ode45(dv,[0 10],[0 2]);

plot(v(:,1),v(:,2));axis([-2 2 -1.5 2])

The first line sets up the parameters, the second sets up the dynamical system 
(where v is the vector having x and y as components), the third solves the ode 
from 0 to 10 seconds, with an initial condition of [0 2], and the fourth line 
plots the results (use plot(t,v(:,1)) to plot the first component versus time).

The plots are smoother than the one shown above, perhaps because I have assumed 
that the variance of the white noise is 1, and maybe a larger one was assumed 
above. Multiplying lambda by 10 produces very similar plots.


Original issue reported on code.google.com by [email protected] on 27 Dec 2010 at 2:06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.