Audio compression using DCT
古いコメントを表示
I'm working on Audio Compression using DCT. How do i expand the size of my sample after performing Inverse Discrete Cosine Transform? The code i have written produces an error saying "matrix dimensions must agree" when i try to find the MSE.
X=dct(y,32768);
s=framesize*X;
b=length(s');
ratio=N/b; % N is the length of the original sample
A=idct(X,32768);
[rows,columns]= size(A)
extra = rows*ceil(numel(X)/rows) - numel(X);
MU=reshape([X(:);nan(extra,1)],rows,columns)
5 件のコメント
Mathieu NOE
2020 年 10 月 15 日
hello
I do not get any error
where do you have an error ?
rachel cn
2020 年 10 月 16 日
Mathieu NOE
2020 年 10 月 16 日
hi
what is the error prompted at the command window ?
Mathieu NOE
2020 年 10 月 16 日
hum
I tried to help but I am blocked because I don't have the Aufio Toolbox
function pitch is notin my path
hope someone else will help you
rachel cn
2020 年 10 月 16 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Audio Processing Algorithm Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!