mu law expander error
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
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
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 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!