Vary Attenuation of Signal During Simulation
Use the docid:simrf_ref.bvejz7p-1 block to attenuate a 20 dB constant signal. Use the Repeating Sequence Stair block as a Simulink control signal to vary the attenuation of the signal. In this model,the signal attenuation varies between 5 and 10 dB during simulation. To see the variation in attenuation, open and run the model.