Results 1 to 2 of 2

Math Help - Signal in Matlab? How to make it?

  1. #1
    Newbie
    Joined
    Jul 2012
    From
    Czech Rep.
    Posts
    1

    Signal in Matlab? How to make it?

    Hello,


    PLEASE, could you help me to solve my problem with Matlab? I would like to make a graph of a function which will generate something like SIGNAL: for the first 5 seconds there will be a constant function y = 0, then for example for 10 seconds there will be a goniometric function (sinx) and for the last 5 seconds there will be again a constant function y = 0. You can see something like this in the attachments. Thanks in advance!

    Yours
    Peter
    Attached Thumbnails Attached Thumbnails Signal in Matlab? How to make it?-sinx.png   Signal in Matlab? How to make it?-excel_example.png  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Apr 2012
    From
    us
    Posts
    9
    Thanks
    2

    Re: Signal in Matlab? How to make it?

    This might be helpful

    Heaviside step function - MATLAB

    Think of using
    heaviside(something) to be zero for time < 5 and one for time > 5
    times
    sin(somethingelse) to have one cycle for 5 <time< 10
    times
    (1-heaviside(somethingelseelse)) to be one for time < 10 and zero for time > 10
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. How to make generic filenames work in matlab?
    Posted in the Math Software Forum
    Replies: 1
    Last Post: June 9th 2010, 07:25 PM
  2. Matlab how to make a table with infinite data
    Posted in the Math Software Forum
    Replies: 2
    Last Post: February 4th 2010, 04:07 AM
  3. How to make this function in matlab
    Posted in the Math Software Forum
    Replies: 0
    Last Post: December 15th 2009, 09:41 AM
  4. matlab - it make me crazy!!
    Posted in the Math Software Forum
    Replies: 0
    Last Post: November 28th 2009, 07:27 AM
  5. Replies: 0
    Last Post: November 13th 2008, 09:53 AM

Search Tags


/mathhelpforum @mathhelpforum