MATLAB: How to inject anomalous points in time series periodic data

anomaly

If I have a time series with dimension 30000*1 and want to add a blip(sudden drop) in the last part of the signal. How should I do it

Best Answer

Multiply the last segment of data with simmilar [0.9 0.5 0.4 0]..as you can choose those values and length. Also consider approprite decay rate.
Or
Convo with approprite decay function.
Related Question