Matlab doesn't recognise sigshift

14 views (last 30 days)
Annabell Bennett
Annabell Bennett on 15 Jun 2020
Edited: Walter Roberson on 15 Jun 2020
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);

Answers (1)

Star Strider
Star Strider on 15 Jun 2020
  2 Comments
Annabell Bennett
Annabell Bennett on 15 Jun 2020
Is there a specific example that I can use?
Walter Roberson
Walter Roberson on 15 Jun 2020
Edited: Walter Roberson on 15 Jun 2020
But then sigadd() and sigfold() will be undefined, so the easiest thing to do is to install that File Exchange contribution.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!