Results 1 to 3 of 3

Math Help - function plotting

  1. #1
    Member
    Joined
    Nov 2005
    Posts
    111

    function plotting

    Hi,
    I have hard time trying to plot some function like :

    \sum u(t-2n)*u(1+2n-t)
    The sum goes from n=0 to n=infinity.

    I only have matlab to plot it.I can plot the unit step function. but I cannot plot the functon above. Can someone know how to plot it?

    I have not tried to plot function such as u(t-2n)+u(1+2n-1) but I will do right now.
    Thank you
    B
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Forum Admin topsquark's Avatar
    Joined
    Jan 2006
    From
    Wellsville, NY
    Posts
    9,847
    Thanks
    321
    Awards
    1
    Quote Originally Posted by braddy View Post
    Hi,
    I have hard time trying to plot some function like :

    \sum u(t-2n)*u(1+2n-t)
    The sum goes from n=0 to n=infinity.

    I only have matlab to plot it.I can plot the unit step function. but I cannot plot the functon above. Can someone know how to plot it?

    I have not tried to plot function such as u(t-2n)+u(1+2n-1) but I will do right now.
    Thank you
    B
    \sum_{n = 0}^{\infty} u(t-2n) \cdot u(1+2n-t) = u(t) \cdot u(1 - t) + u(t - 2) \cdot u(3 - t) + ~ ...

    Here it is for a few terms. Can you figure out the pattern?

    -Dan
    Attached Thumbnails Attached Thumbnails function plotting-step-function.jpg  
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Global Moderator

    Joined
    Nov 2005
    From
    New York City
    Posts
    10,616
    Thanks
    9
    I never knew that program had Heaviside functions.


    I think the idea here is to express this "sawtooth wave" (or whatever it is called) as a Fourier series.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Mathematica 8 plotting function 1/x bug??
    Posted in the Math Software Forum
    Replies: 3
    Last Post: May 9th 2011, 11:40 AM
  2. Plotting Dirac delta function in Mathematica.
    Posted in the Math Software Forum
    Replies: 4
    Last Post: April 11th 2011, 04:53 AM
  3. Plotting a function with wolfram mathematica
    Posted in the Math Software Forum
    Replies: 2
    Last Post: March 11th 2010, 06:53 AM
  4. Plotting a Sample Autocorrelation function
    Posted in the Advanced Statistics Forum
    Replies: 2
    Last Post: February 16th 2010, 06:30 AM
  5. Plotting a graph - Trigonometric Function
    Posted in the Pre-Calculus Forum
    Replies: 12
    Last Post: August 16th 2006, 03:45 AM

Search Tags


/mathhelpforum @mathhelpforum