Simulink: how to convert a discrete signal to a continous signal

Francesco Boi picture Francesco Boi · Jul 18, 2014 · Viewed 8.3k times · Source

I am working in Simulink where I have the following problem. I have a discrete state space model whose outputs are of course discrete. Outputs are corrupted (summed in the Simulink project) by a (continuous) sinusoidal disturbance. Does there exist a block that takes as input a discrete signal and converts it to a continous signal? Thanks in advance

Answer

Phil Goddard picture Phil Goddard · Jul 20, 2014

You don't need to convert the discrete signal to continuous before adding it to a continuous signal.

If you use the Summation Block to add a discrete and a continuous time signal then the output (of the sum) will be continuous.

If for some other reason you need to do the conversion then look at the Rate Conversion Block.