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.

matlab code in echo cancellation

Status
Not open for further replies.

steph_smile09

Newbie level 5
Joined
Sep 13, 2008
Messages
9
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,347
echo canceller matlab

can anybody help me about this code... pls explain this code in matlab.. im confused with this code... pls explain what is [zeros(1,echo_delay) s(echo_delay+1:samples)]

thanks in advanced

q(s)=echo_amp[zeros(1,echo_delay) s(echo_delay+1:samples)]
q is echo
echo_amp is the echo amplitude
echo_delay is the echo delay
 

matlab+echo+delay

q(s) refers to the actual echo(in a communication system echo refers to a delayed version of input i.e if the input starts at t=0,then echo would get added to it after sometime say 4s.)

the above LOC delays the i/p(dependin on echo delay)to generate an echo.

now lets assume samples=10 and echo delay=4,echo_amp=0.5, then echo must be produced after 4 samples of input(with half the mag of input)
if i/p has the value say 6 2 4 5 6 9 7 8 2 3 .then echo q(s)=0.5 *( 0 0 0 0 6 2 4 5 6 9).
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top