Streaming signal processing in MATLAB

yakzephyrAI and Robotics

Nov 24, 2013 (3 years and 6 months ago)

63 views

Streaming signal processing in
MATLAB

Igal Yaroslavski
M.Sc.

Signal Processing, Communication and FPGA workflow Application engineer

Conventional vs Streaming MATLAB

Example

of

conventional

MATLAB

simulation
:

Read

some

audio

data,

filter

and

play

it

back

Source
file

Input data vector

Digital
Filter

Output data vector

Output
device

Same

application

but

implemented

with

system

objects

in

streaming

mode

Source
file

Digital

Filter
Object

Output
device

Data stream

Data stream

The

data

transfer

is

simulated

by

samples,

buffers

signaling

and

etc

are

managed

automatically,

the

control

flow

is

in

sample

resolution
.

Hardware
-
like

(Simulink)

simulation

which

results

in

higher

fidelity

and

code

generation

capabilities
.

Conventional vs Streaming: Demo

Conventional MATLAB:

Processes the data in one chunk

Streaming MATLAB:

Processes the data by samples

Note the buffer grow each step