Fir filter move pi to left

1 visualizzazione (ultimi 30 giorni)
christian sanz
christian sanz il 22 Mag 2017
Risposto: Yuebin Zhou il 24 Mag 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??

Risposte (1)

Yuebin Zhou
Yuebin Zhou il 24 Mag 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!

Translated by