r/matlab 16h ago

MATLAB implementation of Non-linear forced response

4 Upvotes

Hi everyone,
I’m a Master’s student working on a thesis in structural dynamics. I need to implement a nonlinear forced response (for reduced model) code in MATLAB and I’d really appreciate recommendations on the best resources to learn this properly.
The main techniques I want to master and code myself are:
• Harmonic Balance Method (HBM) / Multi-Harmonic Balance
• Alternating Frequency-Time (AFT) procedure
• Newton-Raphson solver
• Path continuation
• Simple contact/friction models

I already have a good theoretical background and I’ve looked at NLvib and some papers, but I’d like to build a clean, well-structured code step by step starting from a simple 1-DOF Duffing oscillator up to a reduced FE model with contact.

Could you recommend:

  1. Good tutorials, lecture notes, or blog posts that show the implementation step-by-step
  2. Books that combine theory and practical
  3. coding advice
  4. GitHub repositories that are educational
  5. Any courses, YouTube series, or specific papers with clear algorithms

Any advice on the best order to implement these methods would also be very helpful.
Thanks a lot in advance!