Matlab ode solver

  • MATLAB
  • Thread starter bnsm
  • Start date
  • #1
bnsm
6
0
Hi guys,


I want to run a for cycle with ode45 inside. However, some parameters that I define in odefun (the differential equation in order to dy/dt, for instance) assume different values in each iteration of that cycle.

I find help examples showing odefun only receiving t and y... Is there any way to add more input parameters to odefun?



Thanks!
 

Answers and Replies

  • #2
bnsm
6
0
Anyone?... :smile:
 

Suggested for: Matlab ode solver

  • Last Post
Replies
2
Views
1K
Replies
0
Views
587
Replies
10
Views
1K
Replies
0
Views
352
Replies
1
Views
692
  • Last Post
Replies
2
Views
500
  • Last Post
Replies
2
Views
714
  • Last Post
Replies
1
Views
586
Replies
5
Views
1K
Replies
1
Views
338
Top