Results 1 to 2 of 2

Math Help - help me to plot this equation in Matlab....

  1. #1
    Newbie
    Joined
    Apr 2009
    Posts
    2

    Question help me to plot this equation in Matlab....

    this is a differential equation...and taking the inverse laplace transform it became a step function....

    this is the function...

    y(t) = 1/2[(sin2(t-1)u(t-1)/2)+cos(2t)]


    thank you in advance...
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by thegeniusguy View Post
    this is a differential equation...and taking the inverse laplace transform it became a step function....

    this is the function...

    y(t) = 1/2[(sin2(t-1)u(t-1)/2)+cos(2t)]


    thank you in advance...
    Your text makes little to no sense, try using English and more brackets. Try:

    Code:
    > t=0:0.1:10;
    > y= (1/2)*[((sin(t-1)).^2/2).*(t>1)+cos(2*t)];
    > plot(t,y)                                                                            -->
    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 1
    Last Post: July 30th 2011, 08:47 PM
  2. 3D plot of z = (Matlab)
    Posted in the Math Software Forum
    Replies: 4
    Last Post: July 14th 2011, 08:22 PM
  3. loglog plot in MATLAB
    Posted in the Math Software Forum
    Replies: 2
    Last Post: March 31st 2011, 07:43 PM
  4. matlab 3D-4D graphic plot
    Posted in the Math Software Forum
    Replies: 6
    Last Post: October 25th 2008, 02:53 AM
  5. MatLab Plot
    Posted in the Math Software Forum
    Replies: 1
    Last Post: August 2nd 2008, 10:59 AM

Search Tags


/mathhelpforum @mathhelpforum