Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Delta modulation : matlab simulation of DM

Status
Not open for further replies.

kimo4ever

Member level 2
Joined
Dec 10, 2010
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,574
helloo, i try to simulate the delta modulation with matlab, now i have the delta modulated signal and the binary output stream, now my question is: i wanna plot the binary signal versus time , but there some issue is that if for example i have Ts=0.01 sec and i have 1 at 0.001 and 0 at 0.002 , matlab draw a line between them with slope -1 , and i wanna fix its value from 0.001 till it reach 0.002 and then drop vertically, so matlab give me a triangle wave if i have 1 after 0 , and i want it a rectangular one, any help ?...thnx
 

use stairs(t,x), where t is your time vector and x is your data.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top