필터 지우기
필터 지우기

mu law expander error

조회 수: 1 (최근 30일)
ahmad ramadan
ahmad ramadan 2018년 10월 22일
편집: madhan ravi 2018년 10월 22일
i have sawtooth function when i expanded the function using this function
i get error
my code
T = 10*(1/50);
Fs = 10000;
dt = 1/Fs;
t = 0:dt:T-dt;
x4 = sawtooth(2*pi*50*t);
u=255
expander = ((-1 + (1+u)^abs(Y)) ./ u);
  댓글 수: 2
ahmad ramadan
ahmad ramadan 2018년 10월 22일
u==255
madhan ravi
madhan ravi 2018년 10월 22일
see my answer below

댓글을 달려면 로그인하십시오.

채택된 답변

madhan ravi
madhan ravi 2018년 10월 22일
T = 10*(1/50);
Fs = 10000;
dt = 1/Fs;
t = 0:dt:T-dt;
x4 = sawtooth(2*pi*50*t);
u=255
expander = ((-1 + (1+u).^abs(x4)) ./ u);
  댓글 수: 1
madhan ravi
madhan ravi 2018년 10월 22일
편집: madhan ravi 2018년 10월 22일
you forgot to put x4 inside abs() , if its the answer for your question please accept the answer so people know the question is solve else let know

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by