From: Nicolas Journo on
Hy, I'm a french student and I need to solve a beautyful equation, this could be an exemple :

g(t)*sin(f(t)+B(t))+h(t)*cos(B(t))+d²(B(t))/dt²=0

g, h and f are known and I need B.
I know that I won't be able to find an analytic solution, but I would like to use a numeric solution. I'm a beginner in matlab, I realy need help.
Thanks for reading my message.
From: Steven Lord on

"Nicolas Journo" <waylanderjava(a)hotmail.com> wrote in message
news:hmdr7b$9jb$1(a)fred.mathworks.com...
> Hy, I'm a french student and I need to solve a beautyful equation, this
> could be an exemple :
>
> g(t)*sin(f(t)+B(t))+h(t)*cos(B(t))+d�(B(t))/dt�=0
>
> g, h and f are known and I need B.
> I know that I won't be able to find an analytic solution, but I would like
> to use a numeric solution. I'm a beginner in matlab, I realy need help.
> Thanks for reading my message.

Okay, then you should read through the help and/or documentation for the
ODE45 function.

Type "help ode45" and/or "doc ode45" (each without quotes) at the command
prompt.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


 | 
Pages: 1
Prev: cube drawing and rotation
Next: imwrite and imshow