one approach to inverting an fir lter is to just invert the z transform and treat that as an inverse system. this will create an iir lter, however. invert the two lters g[n] and h[n] using the z transform and plot the pole-zero diagrams for the inverse systems. the function filt can be used to dene the system and pzplot or pzmap can help with the diagram.