Create an image filter
Show older comments
I want to create a filter that looks like this:
I would like to create a filter that goes from 0 to alpha, then go to -alpha and go back to 0 in an interval called N.

7 Comments
Walter Roberson
on 29 Apr 2020
WIth what rise time, and what hold time?
Is it correct that the rise slope for the initial rise should be the same as the descending slope and the same as the second rise?
Alber
on 29 Apr 2020
Alber
on 29 Apr 2020
Walter Roberson
on 29 Apr 2020
You still need to know the hold time or know the slope. The shorter you make your hold time, the shallower you can make your slope.
For example you might plausibly say that the first rise shuld be the first 1/6 of the time, the hold should be the next 1/6, that the descend should be the next 2/6, the negative hold should be the next 1/6, and the ascend to 0 should be the last 1/6.
But it would be equally valid to say that the hold time should be 0 and that the first 1/4 of the time should be rising, the next 2/4 should be falling, and the last 1/4 should be rising, with the flat areas being nearly non-existent.
Alber
on 29 Apr 2020
Walter Roberson
on 29 Apr 2020
That is not clear to me. Perhaps after I get some sleep...but I suspect what you are trying to say would still not be clear to me. Further explanation might help.
Alber
on 29 Apr 2020
Accepted Answer
More Answers (0)
Categories
Find more on Bartlett in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!