Fir filter move pi to left

1 view (last 30 days)
christian sanz
christian sanz on 22 May 2017
Answered: Yuebin Zhou on 24 May 2017
Hi, I have making a fir filter but I have a little error, the result will have to look like this: <https://i.gyazo.com/d2065d0ae1a2d6401a49db4e28ff7ad1.png>
I obtain this:
and the code problem is this: Omd = 0:2*pi/N:2*pi-2*pi/N
How I move the graphic pi to the left??

Answers (1)

Yuebin Zhou
Yuebin Zhou on 24 May 2017
The line you pointed out looks correct. For this issue, you can possibly check how the axis was created.Is Xlim correct?

Community Treasure Hunt

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

Start Hunting!