Shane
Posts:
4
Registered:
12/14/12
|
|
simple harmonic oscillator using ode45 function
Posted:
Dec 14, 2012 8:17 AM
|
|
Hi, new to matlab and struggling to grasp the language. My problem is I have been given the equation:
x" +ax' + bx = f(t)
solved using the ode45 function
first for f(t) = 0 and then when f(t)= 1
the point is to study the influence of the variables a and b, I'm sure i will be comfortable enough to evaluate these myself once I have the code.
Any and all help would be appreciated, Thanks Shane
|
|