myfilter3.m 224 B

123456789101112
  1. Fir=Fir_angle3;
  2. in=csvread('angle5.csv');
  3. in=in';
  4. angle_off=filter(Fir.Numerator, 1, in);
  5. out=single(angle_off);
  6. t=0:3071;
  7. plot(t, in);
  8. hold;
  9. %plot(t-158, out);
  10. %plot(t-253, out);
  11. plot(t-226, out);
  12. out_off=out';