Fir filter move pi to left

6 vues (au cours des 30 derniers jours)
christian sanz
christian sanz le 22 Mai 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??

Réponses (1)

Yuebin Zhou
Yuebin Zhou le 24 Mai 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