how to plot digtal pulses using matlab

Discussion in 'Embedded Systems and Microcontrollers' started by mauda, Nov 5, 2010.

  1. mauda

    Thread Starter New Member

    Oct 30, 2010
    6
    0
    suppose that i have a matrix

    x=[1 0 0 1 1 0 1 0 1]

    and i want to draw it as a digital data u know

    one pulse
    zero no pulse



    need help pleas
     
  2. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,377
    494
    I had that problem in one homework. Use stem instead of plot.
     
Loading...