Skip to main content

Questions tagged [numerical-algorithms]

Filter by
Sorted by
Tagged with
0 votes
1 answer
79 views

recently I found a matlab code for BCH decode, the code seems to be: I've found several iBM algorithm such as riBM, RiBM, SiBM..., but none of them looks like this code, for example, for RiBM ...
Milin's user avatar
  • 159
0 votes
0 answers
38 views

I have a BCH decoder which solve KES equation using RiBM algorithm, the RiBM Code in matlab is follows: ...
Milin's user avatar
  • 159
4 votes
1 answer
149 views

The book I read (Optimal Control and Estimation by Stengel R.F.) has this passage The trouble with this system is that the equivalent noise covariance matrix $R_k$ is singular because the observation ...
CuriousMind's user avatar
0 votes
1 answer
60 views

I'm working with top-hat filters in real and Fourier space and trying to determine the effective radius when applying a top-hat filter of radius $R_1$ to an image that has already been filtered with ...
user81279's user avatar
3 votes
2 answers
558 views

I know there are many formulations of the Kalman Filter. A few I can name are: Classical Covariance Form Informational Filter Form Square-Root Form or Factor Form But somehow it's hard for me to ...
CuriousMind's user avatar
1 vote
0 answers
61 views

I would like to know how to create an algorithm from the table below in order to distinguish between data that has artefacts and data that does not. I'm trying to leverage video attributes like ...
Coder's user avatar
  • 11
0 votes
0 answers
140 views

I'm reading a paper on how construct isotropic laplacian filter, and perhaps because it's an old paper, the notation in it really bothers me a lot. So can someone please explain it to me? For example, ...
Ili a's user avatar
  • 1
0 votes
1 answer
115 views

In this post: Compensating Loudspeaker frequency response in an audio signal I derive the Wiener-Hopf equations for least squares equalization (and channel estimation if we swap Tx and Rx) from the ...
Dan Boschen's user avatar
  • 58.2k
2 votes
0 answers
64 views

CORDIC is a well-known method for quickly computing exponentials and logs, including trig functions and their inverses by decomposing the angle into conveniently computable increments and then ...
nimish's user avatar
  • 131
5 votes
1 answer
1k views

Floating point representation encodes a binary number using a mantissa $a$ and exponent $b$ according to $(1+a)\cdot 2^b$, where $a$ is an unsigned fractional fixed point number such that $1\le 1+a &...
Dan Boschen's user avatar
  • 58.2k
0 votes
0 answers
160 views

I have an accelerometer sensor with gyro and need to figure out the vertical displacement from the acceleration data. The device that contains the accelerometer will move up and down in fairly ...
lemonade5117's user avatar
2 votes
1 answer
166 views

Assume we need to solve the model: $$ \arg \min_{\boldsymbol{x}} \frac{1}{2} {\left\| \boldsymbol{h} \ast \boldsymbol{x} - \boldsymbol{y} \right\|}_{2}^{2} + \frac{\lambda}{2} {\left\| \boldsymbol{g} \...
Royi's user avatar
  • 21k
2 votes
1 answer
202 views

In Solving inverse problem using black box implementation of the kernel the solution depends on solving the equations of the form: $${\left( {H}^{T} H + \lambda {G}^{T} G \right)} x = y$$ Where $H$ ...
Eric Johnson's user avatar
0 votes
0 answers
24 views

Supposing that there are $N$ particles distributed inside a periodic cubic box of volume $V=L^3$, I want to divide the cube into a regular mesh and calculate the following summation at each grid point ...
Wang Yun's user avatar
  • 134
1 vote
1 answer
202 views

I'm reading a paper - Total Variation Superiorized Conjugate Gradient Method for Image Reconstruction on total variation regularization and conjugate gradients. In page $3$, the authors define the ...
mlbj's user avatar
  • 113
6 votes
2 answers
883 views

I have a question regarding Recursive Least Squares (RLS) adaptive filter. According to Wikipedia (Recursive Least Squares in Wikipedia), to prevent infinite memory one introduces a forgetting factor $...
Triceratops's user avatar
2 votes
0 answers
86 views

I know that if you have a linear time invariant system defined by $$ \dot{X} = AX+BU $$ $$Y = CX$$ by "Laplacing" the previous equations, you get the following transfer function in the ...
NokiYola's user avatar
  • 507
0 votes
1 answer
322 views

I know four common methods for numerical integration of signals such as Midpoint, Trapezoid, Simpson's rule, and FFT integration property. Are there other methods?
Yazan Alatoom's user avatar
2 votes
2 answers
4k views

As a follow up to Generate the Matrix Form of 2D Convolution Kernel, could someone explain how to generate the matrix form of a 1D convolution kernel? How different convolutions shapes are handled? ...
Mark's user avatar
  • 417
0 votes
1 answer
270 views

DDS algorithm is really nice algorithm for creating sinus signal. It is really useful for signal resolution and use of LUT. CORDIC uses LUT and numerical methods. But I don't get high resolution ...
bb0667's user avatar
  • 174
2 votes
1 answer
1k views

I have been implementing a control software where I need to calculate a magnetic flux based on the measurement of the phase voltages of a three phase grid (basically three sinewaves) according to the ...
Steve's user avatar
  • 447
1 vote
0 answers
69 views

I'm developing a song synthesizer (like Yamaha's Vocaloid). I decided to mimic the acoustics of human speech. I modeled the space between articulators as a solid of revolution, and came up with the ...
Dannyu NDos's user avatar
2 votes
0 answers
895 views

For evaluating the performance of algorithms that use double-precision floating point numbers, or to pre-calculate double-precision floating point data to the best precision, it would sometimes be ...
Olli Niemitalo's user avatar
-1 votes
1 answer
428 views

I am trying to understand the following: Consider a system implementing a rational sampling rate change by $\frac{5}{7}$: for this, we cascade upsampler by 5, a lowpass filter with cutoff frequency $\...
qxzsilver's user avatar
  • 109
0 votes
0 answers
34 views

When finding control inputs for ODE systems, gradient based solutions are often used. With the increase computational power will these solutions still be important over things like Monte-Carlo ...
FourierFlux's user avatar
8 votes
3 answers
623 views

This is in reference to the responses for an efficient algorithm for the comparison of bounded fixed point complex numbers at this post. Efficient Magnitude Comparison for Complex Numbers See the ...
Dan Boschen's user avatar
  • 58.2k
20 votes
9 answers
4k views

Is there a more efficient algorithm (or what is the most efficient known algorithm) to select the larger of two complex numbers given as $I + jQ$ without having to compute the squared magnitude as $$...
Dan Boschen's user avatar
  • 58.2k
1 vote
1 answer
240 views

I was trying to solve european option pricing problem using Conv method (introduced by Lord in 2008 https://pdfs.semanticscholar.org/0632/460bd50b2151f74ac40028df4cc60e73a884.pdf). The final step of ...
Wenzel's user avatar
  • 11
1 vote
1 answer
230 views

I am having a hard time implementing a method that computes Fourier transform coefficients for the complex form using the trapezoid rule. I have floated questions in the math and stackoverflow ...
rocksNwaves's user avatar
1 vote
1 answer
172 views

I have a rather elementary question. Suppose we wish to study even-derivatives of an instrumental signal say second fourth and sixth derivatives and plot it as a function of time. With each successive ...
ACR's user avatar
  • 704
0 votes
1 answer
39 views

I have a question, about verifying the value which are near to each other in such row, Is there any algorithm which can determine that ? Suppose I have a vector $z_i =$ {$z_1 , z_2, z_3, . . . ., ...
Gze's user avatar
  • 660
4 votes
2 answers
3k views

To the best of my knowledge, state of the art methods for optimizing the LASSO objective function include the LARS algorithm and proximal gradient methods. I was wondering however, if the LASSO ...
Effesian's user avatar
14 votes
6 answers
7k views

I have very limited resources as I'm working with a microcontroller. Is there a taylor-series expansion, common lookup table, or recursive approach? I'd prefer to do something without using math.h's ...
tarabyte's user avatar
  • 395