Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

problem with control signal

조회 수: 1 (최근 30일)
cmcm
cmcm 2013년 7월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
hello ... i have a control signal with range (-10 to +10 ) and i need to convert it to the range (0 to +10) ... any one have idea to do that ?? ... i try to use gain 0.5 and then bias with +5 but that did not work ... the whole signals are become unstable ... when i used the same way but with bias = 4 ( mean the range become -1 to +9 ) there is no problem with my signals ... it is unstable only with zero .. any one know reason of that ? ... thanx alot

답변 (1개)

Muthu Annamalai
Muthu Annamalai 2013년 7월 26일
If your signal is in variable x, you need to use the transform,
y = (x+10)/2
So you can implement this equation easily with a bias of 10 and a divide block.

Community Treasure Hunt

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

Start Hunting!

Translated by