Main Content

조정 가능한 저역통과 필터

이 예제에서는 하나의 조정 가능한 파라미터 a를 갖는 저역통과 필터를 만듭니다.

F=as+a

tunableTF 블록의 분자 계수와 분모 계수는 독립적이므로 tunableTF를 사용하여 F를 표현할 수 없습니다. 그 대신 조정 가능한 실수 parameter 객체 realp를 사용하여 F를 생성하십시오.

초기값 10을 사용하여 조정 가능한 실수 파라미터를 만듭니다.

a = realp('a',10)
a = 
       Name: 'a'
      Value: 10
    Minimum: -Inf
    Maximum: Inf
       Free: 1

Real scalar parameter.

tf를 사용하여 조정 가능한 저역통과 필터 F를 만듭니다.

numerator = a;
denominator = [1,a];
F = tf(numerator,denominator)
Generalized continuous-time state-space model with 1 outputs, 1 inputs, 1 states, and the following blocks:
  a: Scalar parameter, 2 occurrences.

Type "ss(F)" to see the current value and "F.Blocks" to interact with the blocks.

FBlocks 속성에 조정 가능한 파라미터 a가 있는 genss 객체입니다. F를 다른 조정 가능한 모델 또는 수치 모델과 연결하여 더 복잡한 제어 시스템 모델을 만들 수 있습니다. 예제는 Control System with Tunable Components 항목을 참조하십시오.

참고 항목

| |

관련 항목