Filter löschen
Filter löschen

Error using Butterworth filter

2 Ansichten (letzte 30 Tage)
Sam
Sam am 24 Dez. 2014
Kommentiert: Image Analyst am 24 Dez. 2014
When I use this code, I get the following error:Error using plot Data cannot have more than 2 dimensions. Maybe it's because I extract data from a 3D matrix?
[B,A] = butter(4,0.6); %standaard een low-pass filter. 4 = order. 0.6 = cutoff.
Gefilterde_data = filtfilt(B, A, data_stair_rise(welke_pp,i_testen).VideoSignals);
plot(Gefilterde_data);

Antworten (1)

Image Analyst
Image Analyst am 24 Dez. 2014
There is a plot3() function you can use instead. Try that.
  2 Kommentare
Sam
Sam am 24 Dez. 2014
Already tried that. But than he gives an error 'not enough input arguments'...
Image Analyst
Image Analyst am 24 Dez. 2014
Then read the help and supply all the input arguments it wants.

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by