Info
This question is closed. Reopen it to edit or answer.
filtfilt transposes data on some PCs running 2013a
1 view (last 30 days)
Show older comments
Hello,
I am bandpass filtering some data using a high and low pass butterworth filter and the filtfilt function. I pass this some data of size: [1,3840]. Using 2013a on my machine (64bit) filtfilt returns the filtered data in the same format [1,3840], but on another machine also running 2013a, it is returning the data as a column vector [3840,1]. I have got around the issue with the transpose but I am wondering why this happens?
[row,col] = size(data1); if row > 1 data1 = transpose(data1); end
1 Comment
Jon Boerner
on 24 Oct 2014
What are you passing in as the inputs to the function? Obviously the data, but are you using coefficients or a filter object for the other inputs?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!