Difference Equation Coefficients

In summary, the conversation is about finding the correct coefficient arrays for two equations involving y(n) and x(n). The second equation has coefficients 0.82 and 0.28, while the first equation's coefficients are yet to be determined. The conversation suggests using an array for MATLAB, but the specific method for finding the coefficients is still unclear.
  • #1
mad_monkey_j
33
0

Homework Statement



Work out the correct coefficient arrays for these equations:

y(n)=y(n-1)+[itex]\frac{1}{5}[/itex](x(n)-x(n-5))

y(n) = 0.82y(n -1) + .28x(n)


Homework Equations



[itex]\sum a(r)y(n+1-r)[/itex]=[itex]\sum b(k)y(n+1-k)[/itex] where a(1) = 1


The Attempt at a Solution


Ok for the second equation the coefficients are clearly 0.82 and 0.28, now if I were to put that in an array for MATLAB would it be [0.82 0 0 0 0] and [0.28 0.28 0.28 0.28 0.28]?

For the first equation I have no idea how to go about finding the coefficients.

Cheers for any help.
 
Physics news on Phys.org
  • #2
I think it would be helpful to you to start by determining exactly what the "variables" in this problem are. That is, what will the coefficient matrix be multiplying and what result should that matrix multiplication give?
 

1. What are difference equation coefficients?

Difference equation coefficients refer to the numerical values that are used to describe the relationship between the current value of a variable and its previous values in a difference equation. They are typically represented by letters such as a, b, c, etc. and are used to calculate the next value of the variable in the sequence.

2. How are difference equation coefficients determined?

Difference equation coefficients are determined through various methods depending on the specific equation or problem being solved. In general, they are calculated by analyzing the pattern of the given data and using mathematical techniques such as regression analysis or least squares method.

3. What is the importance of difference equation coefficients?

Difference equation coefficients are important because they allow us to predict and model the behavior of a variable over time. By understanding the relationship between the current and previous values, we can make accurate forecasts and analyze the impact of different factors on the variable.

4. Can difference equation coefficients be negative?

Yes, difference equation coefficients can be negative. This means that the variable is negatively related to its previous values, and an increase in the previous values will result in a decrease in the current value.

5. How are difference equation coefficients used in real-life applications?

Difference equation coefficients are used in various fields such as economics, engineering, and physics to model and predict the behavior of different variables over time. They are also used in time series analysis to make forecasts and identify trends in data.

Similar threads

  • Calculus and Beyond Homework Help
Replies
16
Views
566
  • Calculus and Beyond Homework Help
Replies
5
Views
536
  • Calculus and Beyond Homework Help
Replies
5
Views
620
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
254
  • Calculus and Beyond Homework Help
Replies
6
Views
392
  • Calculus and Beyond Homework Help
Replies
2
Views
275
  • Calculus and Beyond Homework Help
Replies
6
Views
761
  • Calculus and Beyond Homework Help
Replies
6
Views
478
  • Calculus and Beyond Homework Help
Replies
7
Views
947
Back
Top