Nonlinear Regression using a gaussian in a lattice
Show older comments
I have a system of equations where the relationship between input and output is derived from a pixel lattice:

where
and
stand for the distance between row and column of pixel i and j
and
stand for the distance between row and column of pixel i and jIn matrix form, this results in
where, for example, for a 3x3 lattice, A is:

I need to find α and σ for known x(0) and x(K) vectors that solve the linear system in K steps. This is, perform this linear regression:
K can be one (single time step - if possible or more than one timesteps)
I thought about applying some natural logarithms or use lsqn fucntion, but it is not straightforward. Any ideas?
Best
2 Comments
Shouldn't the regression be
x(K) = alpha^K * A^K * x(0)
?
syms a sigma
K = 3; % e.g.
dr = sym('dr',[3 3]);
dc = sym('dc',[3 3]);
A = exp((dr.^2+dc.^2)./(2*sigma^2));
A = a^K * A^K;
... etc
L
on 18 Aug 2023
Accepted Answer
More Answers (0)
Categories
Find more on Linear Predictive Coding in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!