mu law compressor function
이전 댓글 표시
i have sawtooth function when i compress the function using this function

the matlab give me error
my code T = 10*(1/50); Fs = 10000; dt = 1/Fs; t = 0:dt:T-dt; x4 = sawtooth(2*pi*50*t);
Xc = (log(1 + 255*abs(x4)) / log(1+u)) * sign(x4);
채택된 답변
추가 답변 (1개)
ahmad ramadan
2018년 10월 22일
0 개 추천
댓글 수: 1
madhan ravi
2018년 10월 22일
편집: madhan ravi
2018년 10월 22일
Anytime ;) I used dot in front of multiplication and division that's it which is know as element wise operation
카테고리
도움말 센터 및 File Exchange에서 Physics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!