resistor with random variable number not working

조회 수: 1 (최근 30일)
fima v
fima v 2020년 5월 29일
댓글: Ameer Hamza 2020년 6월 2일
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?

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 5월 29일
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
fima v
fima v 2020년 6월 2일
another thing is that this voltage source is connected into an opamp where i have defined in the opamp some input noise.
Will the noise from the voltage source and input noise of the opamp will be in a conflict by MATLAB behavior? how they will play together?
Thanks.
Ameer Hamza
Ameer Hamza 2020년 6월 2일
It is difficult to predict. You will need to run the model to check if it works.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by