Community Profile

photo

Nader Mohamed


Last seen: 19 days ago Active since 2021

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


input symbolic parameters in ode45
I want to solve symbolically an ODE using ode45. The equation is: function dydt = findbk(t,y) J1 = 0.2; T0 = 0.1; ...

1 month ago | 1 answer | 0

1

answer

Question


ODE45 outputs only zeros
I'm trying to use ode45 to model the movement of a piston. This works though a command (function command) that opens with respec...

1 month ago | 1 answer | 0

1

answer

Question


Input struct in function
When I try to run a function that needs constants defined in a struct outside of it, it give the error "Not enough input argumen...

1 month ago | 1 answer | 0

1

answer

Question


ode45 event trigger not responding
I'm trying to get the integration of ode45 to stop when the first column (which represents position) reaches a certain value. Bu...

1 month ago | 1 answer | 0

1

answer

Question


Function on separate intervals
I'm trying to write a function that has different values on different intervals: from t0 to t1 needs to be 0 from t1to t2 need...

1 month ago | 1 answer | 0

1

answer

Question


While loop doesn't start
I'm trying to run a while loop until my error reaches the tolerance. But this loop doesn't start. I tried running it without the...

1 month ago | 1 answer | 0

1

answer

Question


lsqcurvefit error Too many input arguments.
I'm trying to use lsqcurvefit to find the best parameters b and k that minimize the error between the experimental and numerical...

1 month ago | 0 answers | 0

0

answers

Question


Loop over ode45 to find minimum of a parameter
I'm trying to loop over an ode45 for different b and k, to find the couple of the two that minimize the error from the analyt...

1 month ago | 1 answer | 0

1

answer

Question


ODE system with 2 degrees of freedom
I'm trying to write this system of odes and then solve it with ode45, but I'm having trouble writing the function for the system...

1 month ago | 2 answers | 0

2

answers