0

I am very new to simulink, so this question may seem simple. I am looking for a way to sample a continuous signal every X number of seconds.

essentially what I am doing is simulating the principle of a data acquisition unit for a demonstration I am running, but I can't seem to find a block to do this, the nearest thing I can get is the Zero-Order-Hold.

James Jonesy
  • 9
  • 1
  • 1
  • 3

2 Answers2

4

What you may need is a combination of two blocks. First, a Quantizer block to discretize the input to a chosen resolution. Second a Zero-Order Hold block to sample and hold at the chosen sampling rate.

The ordering doesn't seem to be of much importance here.

Here's an example: Simple Sampling Model

Jeremy Mangas
  • 361
  • 1
  • 8
0

also, you can use the Rate Transition block. enter image description here

enter image description here

kourosh
  • 81
  • 1
  • 4