I have done filtering on a particular signal..after that i plot the frequency response of it.But plot seems to a blank..what does that mean?
Best Answer
It most likely means that your filter is not doing what your believe it is doing, and all of the output of the filter isNaN, even if none of your signal data areNaN.
It is likely that your filter is unstable (check this with thefreqz function). Convert it to second-order-section (‘SOS’) representation (with thetf2sos function) to create a stable filter if the transfer function is unstable. However, a poorly-designed filter will still produceNaN values even as a SOS filter. The only way to solve that is to continue varying the filter parameters (such as the passband and stopband frequencies, and passband and stopband ripple) until the filter does what you want it to.
Like that, each value of "a" is correlated to each value of "b", but applying the formula of the correlation, the correlation of two single numbers is NaN. To compute the correlation correctly, traspose the input vectors
Best Answer