Hey guys,(adsbygoogle = window.adsbygoogle || []).push({});

I was just wondering if anyone knows how to set the initial conditions for ode45() if you know f(1.5) but NOT f(0)

Currently I have

>> ode45(f, [0 1 1.8 2.1], [1.5 .5])

But this creates the following error:

??? Error using ==> funfun/private/odearguments

@(T,Y) (T-EXP(-T))/(Y+EXP(Y)) must return a column vector.

Thanks.

**Physics Forums - The Fusion of Science and Community**

# Matlab question

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

Have something to add?

- Similar discussions for: Matlab question

Loading...

**Physics Forums - The Fusion of Science and Community**