Info

This question is closed. Reopen it to edit or answer.

matlab code takes really long time large matrix

1 view (last 30 days)
Gloria
Gloria on 17 Nov 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi ;
I want to solve forced vibration problem with ODE45. But mass, stiffness, damping matrix are 14*14 and force matrix depends on time and multiple lines have time-dependent forces value.it's been over an hour and still I couldnt see time-displacement graph :( What should I do?
  2 Comments
James Tursa
James Tursa on 17 Nov 2020
Is your problem stiff? Maybe you need to use a stiff solver.
Gloria
Gloria on 18 Nov 2020
Thank you so much :) Yes ODE15s or ODE23s is working :)

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!