dear_tzvi
dear_tzvi

Reputation: 745

How to turn step function into a linear one?

I've created a step function using Matlab and played it.

While playing, I recorded back the output (using microphone placed near the speaker) and saw that instead of a step function, what actually been recorded back was a linear function.

So, my questions are:

  1. Why didn't I record back a step function?
  2. What will be a good method to turn the original step function into a linear one, so I will be able to compare them?

enter image description here

Upvotes: 0

Views: 474

Answers (1)

Malcolm McLean
Malcolm McLean

Reputation: 6404

If you try to pass a file like

0 0 0 0 0 0 0 0 32000 32000 32000 32000

to a physical speaker it cannot instantaneously jump from the neutral position to the maximum position. It's not physically possible for the speaker to move that fast. And in fact you might break the speaker, so the software will build in protection (you get step functions when microphones saturate out).

But exactly how fast your speaker can move I don't know.

Upvotes: 1

Related Questions