Matlab doesn't recognise sigshift
14 ビュー (過去 30 日間)
古いコメントを表示
Hey guys!
For some reason MATLAB doesn't recognise sigshift, sigadd and sigfold. Is there a reason why? Any help would be great! This is my code so far.
Thank you!
Annabell
x = [3, 11, 7, 0, -1, 4, 2];
nx=[-3:3];
[y,ny] = sigshift(x,nx,2);
w = randn(1,length(y)); nw = ny;
[y,ny] = sigadd(y,ny,w,nw);
[x,nx] = sigfold(x,nx);
[rxy,nrxy] = conv_m(y,ny,x,nx);
0 件のコメント
回答 (1 件)
Star Strider
2020 年 6 月 15 日
2 件のコメント
Walter Roberson
2020 年 6 月 15 日
編集済み: Walter Roberson
2020 年 6 月 15 日
You can copy the code for sigshift from https://www.mathworks.com/matlabcentral/fileexchange/2189-digital-signal-processing-using-matlab
But then sigadd() and sigfold() will be undefined, so the easiest thing to do is to install that File Exchange contribution.
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!