How to model Non linear differential equation in matlab
Show older comments
I want to model the following differential equation using simulink. d2x/dt2=g-C/m(i^2/x^2)* I have modeled it in simulink. but the problem is that at time =0 the reciprocal math function in the feed back loop gives NAN or INF error because at time =0 the output is zero. Kindly help me how can i remove the error or how can i model this differential equation. thanks.

Accepted Answer
More Answers (0)
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!