There is no need to add randn(1) in the resistor value. As the documentation page mentions: https://www.mathworks.com/help/simrf/ref/variableresistor.html you just need to tick the "Simulate noise" checkbox. In the resistance field, just type 50. Also, make sure that the "simulate noise" box is ticked in RF-blockset configuration block.
Hello Ameer , in the following manual i have found Tollerance option.
is there a way to have such "tollerance" option to a voltage source?(so i will have a small random option to a DC source) i need 255 such sources for 8bit flash adc.
Hello Ameer, i am looking for avoltage source with a little offset (set randomly aroundsome DC value) exactly like the tollerance option in the resistor..
It would be great if you could recomment me such a component.
The voltage source suggested in my last comment does that. You can specify the power of the noise signal and it will add that noise to nominal DC value.
It seems correct, but I am not entirely sure. You may need to do some experiments by connecting this block with the scope and observing the variation in voltage value.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.