Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component.
Input x = [0 1 2]
Output y = [1 1 1]
Amitava, it is fantastic that you are contributing problems, but you really need to spend more time specifying what the solution should do. The person solving is left needing to guess too much.
Definitely Agree with the cyclist. W/o example it is impossible to understand the task to achieve.
Right and wrong
Back to basics 21 - Matrix replicating
Sum of first n terms of a harmonic progression
Add two numbers
Distance walked 2D
Multiply a column by a row
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office