Clear Filters
Clear Filters

can anyone tell me how to completely supress a signal above a particular threshold

1 view (last 30 days)
if the threshold is 0.2 and i would like to supress the signal that is above that range but not only till the threshold ..for eg if the amplitude of signal is 0.4 i would like to get it to 0

Answers (1)

Walter Roberson
Walter Roberson on 5 Mar 2013
TheSignal(TheSignal > threshold) = 0;

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!