Contenuto principale

Smorzatori, commutatori e contatori

Modificare la velocità di campionamento o la velocità di frame dei segnali, contare gli eventi, rilevare i fronti, eseguire azioni al verificarsi degli eventi

Convertire le velocità dei segnali e le dimensioni dei frame in Simulink® utilizzando blocchi di smorzamento dei frame, quali i blocchi Buffer, Unbuffer e Delay Line. Implementare smorzatori FIFO e LIFO utilizzando i blocchi Queue, Stack in Simulink e l'oggetto dsp.AsyncBuffer in MATLAB®. È inoltre possibile contare gli eventi, rilevare i fronti ed eseguire azioni al verificarsi degli eventi utilizzando i blocchi commutatori e contatori in DSP System Toolbox™.

Oggetti

dsp.AsyncBufferFIFO buffer

Funzioni

rebuffer_delayNumber of samples of delay introduced by buffering and unbuffering operations

Blocchi

espandi tutto

BufferBuffer input sequence to smaller or larger frame size
N-Ratio BufferBuffer input data into integer-multiple-sized frames (Da R2026a)
Delay LineRebuffer sequence of inputs
QueueStore inputs in FIFO register
StackStore inputs into LIFO register
UnbufferUnbuffer input frame into sequence of scalar outputs
N-Ratio UnbufferUnbuffer input data into integer-factor-sized frames (Da R2026a)
CounterCount up or down through specified range of numbers
Edge DetectorDetect transition from zero to nonzero value
Event-Count ComparatorDetect threshold crossing of accumulated nonzero inputs
Multiphase ClockGenerate multiple binary clock signals
N-Sample EnableOutput ones or zeros for specified number of sample times
N-Sample SwitchSwitch between two inputs after specified number of sample periods

Argomenti