MATLAB Answers

Continuous/Discrete Simulink Problem

4 views (last 30 days)
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?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 24 Jul 2014
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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!