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.
Number of 1s in the Binary Representation of a Number
vectorization in N
Predicting life and death of a memory-less light bulb
chance in percent for minimum K heads when a good coin is tossed N times?
Multiply a column by a row
Generate one sample of uniform random numbers between -pi and +pi
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