Fir filter move pi to left

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?

Asked:

on 22 May 2017

Answered:

on 24 May 2017

Community Treasure Hunt

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

Start Hunting!