Continuous/Discrete Simulink Problem
조회 수: 2 (최근 30일)
이전 댓글 표시
Hey guys
When I use a transfer function 1/(s+1) with input of a constant 1 the output is a signal with amplitude 1 and constant time of 4 s.
But when I do the same using 1/(z+1), a discrete transfer function, the result is an impulse of 10^307.
Why of this?
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2014년 7월 24일
If you want to discretize your system
N=1
D=[1 1]
h=tf(N,D) % continuous transfer function
ts=4 % sampletime
g=c2d(h,ts) % your discrete system
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!