MATLAB Answers

0

Continuous/Discrete Simulink Problem

Asked by Danilo NASCIMENTO on 24 Jul 2014
Latest activity Answered by Azzi Abdelmalek
on 24 Jul 2014
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 Comments

Sign in to comment.

1 Answer

Answer by Azzi Abdelmalek
on 24 Jul 2014
 Accepted Answer

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 Comments

Sign in to comment.