Is fortran 90 or matlab better for simulating non-linear dynamics (Chaos)?


by great_sushi
Tags: chaos, dynamics, fortran, matlab, nonlinear, simulating
great_sushi
great_sushi is offline
#1
Jan27-13, 04:26 PM
P: 31
I am going to be simulating damped driven oscillators for my project and I was wondering if someone could give me a definitive answer on the matter. I know matlab is more of a 'tool' than a language so i'm thinking the maths behind damped driven oscillators might be easier to implement into fortran 90.
If someone could give me a few pros and cons for the two and maybe more specifically to the simulations involved with damped driven oscillators that would be great.

Thank you!
Phys.Org News Partner Physics news on Phys.org
Sensitive detection method may help impede illicit nuclear trafficking
CERN: World-record current in a superconductor
Beam on target: CEBAF accelerator achieves 12 GeV commissioning milestone
jfgobin
jfgobin is offline
#2
Jan28-13, 07:26 AM
P: 90
Good Afternoon Great_Sushi,

Actually, both are applicable. It really boils down to what process you want.

Matlab has a powerful scripting language, is matrix oriented and has a ton of solvers and operators.

Fortran is a programming language, it probably has libraries to do operations on matrix, solvers and operators. Do these work with each other? Good question.

A third option would be Python with scipy and numpy: it's python with matlab-like extensions. If you add matplotlib, you have a complete solution for the processing AND graphing.

J.
jedishrfu
jedishrfu is online now
#3
Jan28-13, 09:14 AM
P: 2,472
Another option would be Java and the Open Source Physics library:

www.compadre.org/osp

and for Duffing Chaos model as an example:

http://www.opensourcephysics.org/ite...il.cfm?ID=7860

great_sushi
great_sushi is offline
#4
Jan28-13, 01:06 PM
P: 31

Is fortran 90 or matlab better for simulating non-linear dynamics (Chaos)?


OK thanks alot! I've decided to go for matlab... first day back of semester 2 and we're doing non-linear dynamics using matlab. I have a whole semester dedicated to my project, certainly panned out well hehe.

As for damped driven oscillators, can you recommend any good books on the subject of non-linear dynamics?


Register to reply

Related Discussions
HELP: Fluid Dynamics and Simulating with C++ Mechanical Engineering 1
Nonlinear Dynamics and Chaos Science & Math Textbook Listings 3
simulating globular clusters over blackholes with Fortran General Astronomy 6
Non Linear Dynamics & Chaos Academic Guidance 1
Fractals, Chaos and Non-linear Dynamics General Math 14