1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab - ODE, find roots of the characteristic equation for the natural response

  1. Sep 4, 2009 #1
    1. The problem statement, all variables and given/known data

    I need to use MATLAB to solve these problems.


    2. Relevant equations


    3. The attempt at a solution



    % defining the polynomial constants
    Vs=[R1*R2*C1*C2 (2*R2*C2)+(R1*C1) 1];

    'the roots of the equation are';

    ans =


    b) Largest time constant:


    %Converting to Partial fraction to find the inverse Laplace transform


    r =

    1.0e+003 *


    p =

    1.0e+004 *


    Transfer function:

    [tex]\frac{-5051}{s + 25253} + \frac{5051}{s + 4209}[/tex]

    Based on the inverse Laplace of the partial fractions, the eqn then looks like below:

    Vo(t) = r(2)*exp(p(2)*t) +r(1)*exp(p(1)*t)

    Vo(t) = 5051e^(-4209t)-5051e^(-25253t)

    I believe that is my natural response????

    c) obtain and plot the natural response function versus time (use the first 1ms) for an initial constant Vs(t=0) = 5V

    I have no idea, this is all new to me. The initial constant has me fooled and i dont know how to do it with the roots from part a. Can someone help me out with part c please
    Last edited by a moderator: Apr 24, 2017
  2. jcsd
  3. Sep 4, 2009 #2

    Attached Files:

  4. Sep 7, 2009 #3
    that still doesn't help me much...

    so i know the natural response in S domain. I can find the inverse Laplace to find what it is in time domain so i can plot it against t. but the initial constant Vs(t=0) = 5V still confuses me. Also, this doesnt use the root directly obtained in part a!

    Do i just modify the graph so it starts at 5V ????????
    Last edited: Sep 7, 2009
  5. Sep 7, 2009 #4
    The question seems to ask you to set Vs(t) = 5v.
  6. Sep 8, 2009 #5
    well this is my understanding of it...

    basically i assume a natural response in the form y= Ce^(at)

    given the roots:

    y= C1e^(-25253t) + C2e^(-4209t)

    i am given Vs(0)= 5V

    however to solve for the constants C1 and C2 dont i need the value of the derivative of Vs??
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook