Difference Equation Coefficients

Click For Summary
SUMMARY

The discussion focuses on determining the coefficient arrays for two difference equations: y(n)=y(n-1)+\frac{1}{5}(x(n)-x(n-5)) and y(n) = 0.82y(n -1) + 0.28x(n). The coefficients for the second equation are identified as 0.82 and 0.28, leading to MATLAB arrays of [0.82 0 0 0 0] for y and [0.28 0.28 0.28 0.28 0.28] for x. The first equation's coefficients remain unclear, prompting a request for guidance on identifying the variables and constructing the coefficient matrix.

PREREQUISITES
  • Understanding of difference equations and their applications
  • Familiarity with MATLAB for array manipulation
  • Knowledge of signal processing concepts
  • Basic linear algebra, particularly matrix multiplication
NEXT STEPS
  • Research how to derive coefficients for difference equations in MATLAB
  • Learn about the role of coefficient matrices in signal processing
  • Study the implications of variable definitions in difference equations
  • Explore advanced MATLAB functions for handling arrays and matrices
USEFUL FOR

Students and professionals in mathematics, engineering, and computer science, particularly those working with difference equations and MATLAB programming.

mad_monkey_j
Messages
33
Reaction score
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
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?
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K