python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Converting a MATLAB code for generating 2D Laplacian matrix using a Kronecker product to python
The following MATLAB code generates the 2D Laplacian matrix using a Kronecker product
approach.
function A=A(N)
% Assemble the system matrix A
e = ones(N,1);
D = spdiags([e -2*e e], -1:1, N, N);
I = ...
Siam
Votes: 0
Answers: 0
Numerical instability in the inverse Laplace transform
I have a problem with Laplace inversion and my function is not numerically stable for the Laplac inverse, but I do not understand the cause of this problem.
Here is my code and graph of this problem. ...
Ali AlCapone
Votes: 0
Answers: 0
Which value is alpha in cv2 Laplacian function
I am trying to apply Laplacian filter to image from following text.
cv.Laplacian(src, ddepth[, dst[, ksize[, scale[, delta[, borderType]]]]])
But I am not sure which value is alpha.
Text:
we apply a ...
OuzKagan
Votes: 0
Answers: 1
Numerical diagonalization of Hamiltonian using MATLAB
I am trying to diagonalize the Bogoliubov-de Gennes Hamiltonian. The problem is that the Hamiltonian contains a Laplacian. This could be solved by using a discretized Laplacian
If I use a simple Hamil...
MrQ
Votes: 0
Answers: 0