MATLAB SIGNAL PROCESSING BLOCKSET 7 Guía de usuario Pagina 644

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 738
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 643
Upsample
5-487
See “Excess Algorithmic Delay (Tasking Latency)” on page 3-91 and “The
Simulation Parameters Dialog Box” in the Simulink documentation for more
information about block rates and Simulink’s tasking modes.
Example Construct the frame-based model shown below.
Adjust the block parameters as follows:
Configure the Signal From Workspace block to generate a two-channel
signal with frame size of 4 and sample period of 0.25. This represents an
output frame period of 1 (0.25
4). The first channel should contain the
positive ramp signal 1, 2, ..., 100, and the second channel should contain the
negative ramp signal -1, -2, ..., -100.
-
Signal = [(1:100)' (-1:-1:-100)']
- Sample time = 0.25
- Samples per frame = 4
Configure the Upsample block to upsample the two-channel input by
increasing the output frame rate by a factor of 2 relative to the input frame
rate. Set a sample offset of 1, and an initial condition matrix of
-
Upsample factor = 2
- Sample offset = 1
- Initial condition = [11 -11;12 -12;13 -13;14 -14]
- Frame-based mode = Maintain input frame size
11 11
12 12
13 13
14 14
Vista de pagina 643
1 2 ... 639 640 641 642 643 644 645 646 647 648 649 ... 737 738

Comentarios a estos manuales

Sin comentarios