arpit01

square Wave using Ones & Zeros

Nov 28th, 2018
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. clc
  2. clear all
  3. close all
  4. t=0:0.01:7.99
  5. y=[ones(1,100),zeros(1,200),ones(1,100),zeros(1,200),ones(1,100),zeros(1,100)]
  6. plot(t,y)
Add Comment
Please, Sign In to add comment