resistor with random variable number not working
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
fima v
am 29 Mai 2020
Kommentiert: Ameer Hamza
am 2 Jun. 2020
Hello i have many simulink blocksets,
i have tried to put rf blockset in order to build a ressistor with random value in it as shonn bellow.
but its not working .Where did i go wrong?
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 29 Mai 2020
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.
8 Kommentare
Ameer Hamza
am 2 Jun. 2020
It is difficult to predict. You will need to run the model to check if it works.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!