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??

Risposte (1)

Yuebin Zhou
Yuebin Zhou il 24 Mag 2017

0 voti

The line you pointed out looks correct. For this issue, you can possibly check how the axis was created.Is Xlim correct?

Richiesto:

il 22 Mag 2017

Risposto:

il 24 Mag 2017

Community Treasure Hunt

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

Start Hunting!

Translated by