MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply TodayTo resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Asked by Jenn on 9 Oct 2013

Can someone please help me with this, I am new using the program and I really do not know what to do,

*No products are associated with this question.*

Answer by sixwwwwww on 10 Oct 2013

Edited by sixwwwwww on 10 Oct 2013

I will come back to it soon

Show 3 older comments

sixwwwwww on 10 Oct 2013

But for different initial conditions we will have different integration constants values. Then it should work

Walter Roberson on 10 Oct 2013

Even with specific boundary conditions, the integrals along the way have the singularity at x = 0 or y = 0

Answer by Walter Roberson on 10 Oct 2013

Hint: for

x' = 2*x^3 + sin(x) %random example

you would code

fun = @(x) 2 * x.^3 + sin(x); ode45(fun, [StartTime, EndTime], [InitialX, InitialY])

such as

ode45(fun, [0 20], [3 7])

## 1 Comment

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/89740#comment_173337

Nasty little system, not very tractable to analysis.