Use the Transducer Gain Testbench
block to verify the gain of an Amplifier
block.
Open the model and change the gain of the amplifier block to 20 dB.
open_system('transducer_gain_example.slx')
Run the model. You will see that the output display shows a gain of 20 dB.
The scope response shows a gain of 20 dBm at 2.1 GHz, which is the specified frequency in the testbench dialogue box.