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.
Back to basics 10 - Max Float
Back to basics 11 - Max Integer
Flip the main diagonal of a matrix
Will there be a new leader?
Try 1.5.4: Celsius to Fahrenheit
Check if sorted
How to subtract?
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