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.
Find relatively common elements in matrix rows
High school cafeteria
Reverse the Words (not letters) of a String
middleAsColumn: Return all but first and last element as a column vector
Area of a triangle
Minimum possible M of the maximum side of a triangle of given area A.
How to add?
Distance walked 1D
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