Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dukebound85

macrumors Core
Original poster
This may seem like a basic question but is anyone familiar with the filtfilt function in matlab?

From what I gather, it is a zero phase filter. My question is if I have a 3d array, does the filtering depend on dimension at all? or is it independent of the dimensions?

for instance here is what I have

[b,a] = butter(8,1/20);

tLP = filtfilt(b,a,t)

where t is an array with dimensions of 240,121,32500

In the past I have used this on 1D arrays but not quite sure how to handle the 3d aspect. If dimension is important in filtering, how would I filter over the 3rd?

Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.