## SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

## SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

(OP)

Dear Simulink people. Im not much of a programmer and depended up on tools like simulink. Here is my question. I'm interested in data compression. I would like to:

Step 1: Sample a continuous time signal (microphone or generated polynomial function) with a certain samplerate to a set discrete data points.

Step2: Manipulate these datapoint in some way and take out points who are not interesting. And allocate points who are.

Step3: Interpolate or function approximate the strategic chosen data points.

My aim is to sample a function at a high frequency rate. Take out strategic data points. (compression) and interpolate the function to it looks similar to the original signal.

- Can this be done in only simulink, without programming in matlab? - What blocks do i need.

I have started with a sine genrator, a quantifier, and encoder. But i really dont know what all blocks to. Ill be happy to read you responses.

Best regards, Bart

Step 1: Sample a continuous time signal (microphone or generated polynomial function) with a certain samplerate to a set discrete data points.

Step2: Manipulate these datapoint in some way and take out points who are not interesting. And allocate points who are.

Step3: Interpolate or function approximate the strategic chosen data points.

My aim is to sample a function at a high frequency rate. Take out strategic data points. (compression) and interpolate the function to it looks similar to the original signal.

- Can this be done in only simulink, without programming in matlab? - What blocks do i need.

I have started with a sine genrator, a quantifier, and encoder. But i really dont know what all blocks to. Ill be happy to read you responses.

Best regards, Bart

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

You need to be more clear as to your intentions...

Dan - Owner

http://www.Hi-TecDesigns.com

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

Cheers

Greg Locock

New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

My idea is:

- to equidistant sample a continues signal with a high sample rate. (let say i'm sampling a 0,001 sec audio signal with 48000 Hz)

- plot points in an array(matrix).

- think up an algorithm for picking out stategic values that. top (x,y) bottom (x,y) and points around the parabola's

- with those non equidistant (x,y) values or coordinates i want to spline interpolate multiple 2nd 3rd 4th ...degree polynomials to construct back the original signal.

but as i read, this looks like an impossible job to do in SIMULINK.

or not?

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

Cheers

Greg Locock

New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

roughly polynomial fitting over x,y values for me is the same as curve fitting.

so what about lookup tabels?

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

Cheers

Greg Locock

New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

I can't tell if you don't understand the actual process or if you're simply not using the correct terminology for what you want accomplished...

Dan - Owner

http://www.Hi-TecDesigns.com

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

[IMG http://tinyurl.com/7ofakss]

Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!

There is a homework forum hosted by engineering.com: http://www.engineering.com/AskForum/aff/32.aspx

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

## RE: SIMULINK: sampling of a continuous signal, encoding, decoding and interpolation the data

Greg Locock