MATLAB Answers

How to handle polynomial expansion in MATLAb

5 views (last 30 days)
Fred
Fred on 9 Jul 2013
Dear all;
I have two vectors Z(m*1) and S(n*1) (Z is my data and S are coefficients from another formula) and I want to adjust Z values by some type of differencing like this:
H(i)=Z(i)-0.3*Z(i-1)-0.105*Z(i-2)-0.059*Z(i-3)-...
S=[0.3 0.105 0.059 ...]
I don't know how should I handle both S and Z with different dimensions? I appreciate your help

  0 Comments

Sign in to comment.

Accepted Answer

Matt J
Matt J on 9 Jul 2013
Edited: Matt J on 9 Jul 2013
H=filter([1,-S],0 , Z);

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Products


Translated by