resistor with random variable number not working
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
0 개 추천
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
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
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.
Which voltage source are you referring to? For example, this voltage source has the option to enable noise: https://www.mathworks.com/help/releases/R2020a/physmod/sps/ref/voltagesource.html
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.
Thanks.
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.
Hello Amer that the problem i hace a DC source for example 1V
i want it to vary by 0.1V so you say i should add 0.01 V^2/Hz in the noise to represent it?
Thanks
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.
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.
It is difficult to predict. You will need to run the model to check if it works.
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Sources에 대해 자세히 알아보기
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
