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.
Which values occur exactly three times?
High school cafeteria
Convert a numerical matrix into a cell array of strings
Make a 1 hot vector
Insert zeros into vector
How many jokers?
Compress strings (not springs)
Predicting life and death of a memory-less light bulb
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