Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 3997

Questions related to implementation of various algorithms under software environments and programming languages.

0 votes

Simulating room impulse response between rooms

Coupled rooms are hard siince you have two weakly coupled mode spectra to deal with. Also the details of the coupling (size, boundary conditions, geometry) become very important. If there is no direct …
Hilmar's user avatar
  • 48.2k
8 votes

How to implement a digital oscillator?

What you have is a very good and efficient oscillator. The potential numerical drift problem can actually be solved. Your state variable v has two parts, one is eseentially the real part and the other …
Hilmar's user avatar
  • 48.2k
4 votes

Is my accelerometer precise enough?

Typically you can improve performance by analyzing the data that you want and analyzing the data that you don't want. I would assume that a plane can't turn infinitely fast so the actual "want" data i …
Hilmar's user avatar
  • 48.2k
1 vote
Accepted

How to specify the cut-off frequence in cascaded biquad filters?

Do we just cleverly set the $a_{1,2}$ and $b_{0,1,2}$ coefficents? Yes. The coefficients determine entirely what he filter does: shape (lowpass, highpass, bandpass, peaking EQ, shelve, etc.), steepn …
Hilmar's user avatar
  • 48.2k
2 votes

Transposed direct form 1 vs Transposed direct form 2

I was wondering, does this property also holds for the transposed direct form 1? It does not. In fact in terms of numerical performance, transposed direct form 1 is outright terrible. It helps to lo …
Hilmar's user avatar
  • 48.2k
1 vote

What is the most computationally efficient way to generate 100 sine waves layered on top of ...

There are two things that you can do to speed things up: Do frame based processing, i.e. compute 1000 or so samples at a time before writing them to the wavefile Minimize calls to transcendental fun …
Hilmar's user avatar
  • 48.2k
2 votes

Recovering phase response from frequency magnitude of a minimum-phase system: Practical cons...

How do I verify that this phase response is indeed the correct answer? Visual inspection works pretty well here. Things that indicate problems are pre-ringing, i.e. unusual activity at the end of t …
Hilmar's user avatar
  • 48.2k
1 vote

How to use Octave ellip() coefficients for 3-band C++ crossover

Not sure what your application requirements are but there seem to be some issues with your implementation. Your pass band ripple of 5 dB is way too big. Something like 0.1dB would be much more typica …
Hilmar's user avatar
  • 48.2k
1 vote

Analyzing Quantization Effects on DSP Algorithms

You may be overthinking this. Step 1: optimize the SNR at the ADC -1.8V to 1.8V (input voltage range of the adc). According to the data sheet the input voltage range 2.7Vpp, that means you need to r …
Hilmar's user avatar
  • 48.2k