Matlab doesn't recognise sigshift
조회 수: 15 (최근 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!