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

Click For Summary

Discussion Overview

The discussion revolves around the choice between Fortran 90 and MATLAB for simulating damped driven oscillators within the context of non-linear dynamics. Participants explore the strengths and weaknesses of each programming environment as they relate to the specific requirements of the simulations involved.

Discussion Character

  • Debate/contested, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant suggests that MATLAB, being more of a tool, might make the mathematical implementation of damped driven oscillators easier compared to Fortran 90.
  • Another participant argues that both MATLAB and Fortran are applicable, emphasizing that the choice depends on the specific processes desired for the simulation.
  • It is noted that MATLAB has a powerful scripting language and is matrix-oriented, with numerous solvers and operators available.
  • Fortran is described as a programming language that likely has libraries for matrix operations, but the compatibility of these libraries with each other is questioned.
  • A third participant introduces Python as an alternative, highlighting its scipy and numpy libraries for MATLAB-like functionality, along with matplotlib for graphing.
  • Another option mentioned is Java with the Open Source Physics library, providing a specific example related to the Duffing Chaos model.
  • The original poster expresses a decision to use MATLAB for their project, indicating a positive outlook on the semester ahead.
  • The original poster also requests recommendations for books on non-linear dynamics, specifically related to damped driven oscillators.

Areas of Agreement / Disagreement

Participants do not reach a consensus on which programming environment is definitively better for simulating damped driven oscillators, as multiple competing views and alternatives are presented throughout the discussion.

Contextual Notes

Some limitations include the potential dependencies on specific libraries and the varying degrees of familiarity participants may have with each programming language or tool, which could influence their recommendations.

Who May Find This Useful

This discussion may be useful for students or researchers interested in simulating non-linear dynamics, particularly those weighing the merits of different programming environments for their projects.

great_sushi
Messages
30
Reaction score
0
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!
 
Physics news on Phys.org
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.
 
OK thanks a lot! 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?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 45 ·
2
Replies
45
Views
7K
  • · Replies 1 ·
Replies
1
Views
13K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K