# Questions tagged [convolution]

Tags for questions about convolution, including the Mathematica functions Convolve, DiscreteConvolve, ListConvolve, DirichletConvolve, ImageConvolve, and convolutions using Fourier, FourierTransform, or LaplaceTransform.

125 questions
Filter by
Sorted by
Tagged with
21 views

### How to convolve two audio signal?

Can we obtain reverb effect by convolve two audio signal? Here are some example. https://www.bilibili.com/video/BV1vE411h7W2
99 views

### How to perform fitting with convolution of two functions in Mathematica?

I have an experimental data as shown bellow. ...
82 views

### How to get the class of neighbors in a 2D periodic matrix?

I'm trying to analyze the spatial structure of some rectangular arrays by counting the number and class/type of neighboring points around every point in the arrays, with periodic boundaries. For ...
68 views

### how to find convolution between two functions?

I have some problems with the convolution between two functions. i want to find the convolution of two models. The two models are given by gd and ...
128 views

### How does DirichletConvolve relate to Dirichlet convolution?

Mathematica's Help documentation on DirichletConvolve is economical, to say the least. It claims the function "gives the Dirichlet convolution of the ...
48 views

### How to add a multiplier in the convolution function?

I shall write my questions first: 1. Is there any other simple and efficient method in Mathematica that can compute the convolution of two or more random variables with correlation? 2. How to modify ...
25 views

### How to define more general boundary conditions for ConvolutionLayer?

In Mathematica 12, I only see the option to define "PaddingSize" for a ConvolutionLayer in order to get Dirichlet boundary ...
120 views

### I cannot get the convolution of Jacobsthal(n) and 3^n using Convolve[], DiscreteConvolve[] or ListConvolve[]

I am working on a problem where I found that the system I am working with follows OEIS A094705 which is the: "Convolution of Jacobsthal(n) and 3^n". So I have tried using the recursive formula ...
28 views

### convolution of two normal bivariate

i need to perform the convolution of two normal vibariate. I defined ...
156 views

### Using Convolve with functions that contain error functions, and iterative convolutions

I need to produce convolutions of convolutions to study some probability distributions. My starting distribution is the Rayleigh distribution, which I convolve with itself as: ...
38 views

### Plot circular convolution

x = {1, 2, 3, 1}; h = {0, 0, 1, 0}; ListConvolve[x, h, {1, 1}] Plot[ListConvolve] Why doesn't mathematica plot the output of ListConvolve?
79 views

...
135 views

87 views

### Convolve application

How to define the function $$f_m(s)=\begin{cases} s^m, \quad s\in[0,n]\\ 0, \quad otherwise \end{cases}$$ And to get its value of discrete self-convolution in $s=n$ by means of ...
68 views

### Convolve and Plotting

I want to convolute my equation with Gaussian function.I used following code for it but it does not give the output? How do I correct it ...
86 views

### Convolution of an Image with Gaussian sigma = 1

I'm new to image processing and I've been testing out different Gaussian blur filters. Out of curiosity, I generated an object that is a 2D Gaussian with sigma = 1. I convolved this object with a ...
24 views

### Table of convolutes

Inputs Start with a vector $x\in\mathbb{R}^{n}$, and a vector-valued function $f:\mathbb{R}^{n}\mapsto\mathbb{R}^{n}$. Output Given some $k\in\mathbb{Z}^{+}$, what are elegant ways to produce the ...
290 views

### Deconvolution using Fourier transforms

I have a 2D signal in the form of a function $g(x_m,y_m)$ given as  \begin{aligned} g(x_m,y_m) = \ & \int^{\infty}_{-\infty} \mathrm{d}x_o \ \mathrm{d}y_o \ \frac{1}{\varepsilon^2} P(x_o - x_m,...
58 views

### Convolve taking too long and producing error message Integrate::idiv:

The following functions do not produce an output."f1" is a convolution of Gaussian function and my model. It took too much time and gave an error message. I have attached that error message also. How ...
87 views

### Fitting complex equation

I used the following code for fitting but it does not produce an output.I kept it nearly 3 to 4 hours but it does not give any output. How should I make it correct?I have used two equation(f1,f2).I ...
29 views

### Convolve[…] behaves differently to that of Integrate[…] when numerically integrating the result

I am performing a convolution between two functions, and then I want to numerically integrate the result. If I go: ...
226 views

### Convolve and fitting

I want to convolve two equation, then I want to find the parameters. But it doesn't give the answer and Takes too much time. What is the wrong with my code? ...
34 views

### Help with Plot excluding parts of a curve even with “Exclusions” option set to “None” and speed up of code

I modeled a system mathematically. When the model is ideal, I can plot the results and export the plotted points. Everything works fine. Now, I started to model some imperfections of the system, but ...
90 views

### Use List convolve for aligning images

I am trying to align images of point spread functions using a convolution. Before doing it on real data, I wanted to try on simulated data. I have no problem with the 1-D case where I create 2 ...
348 views

### Can I use ListDeconvolve or any other functions to get the original kernel?

I have seen an example in the help document: data1 = {0., 0., 1., 2., 1., 2., 1., 0., 0., 0.}; ker = {1/3, 1/3, 1/3}; conv = ListConvolve[ker, data1, 2] my question ...
276 views

### Using Convolve and Manipulate

im trying to demonstrate the convolution process between 2 HeavysidePi function with Manipulate. im trying to get something like this GIF. i found how to demonstrate the convolution with : ...
286 views

### normalization of convolution product when using Fourier transform

I'm trying to calculate the convolution of two probability density functions (PDFs) defined on the real axis: a normal distribution (with \[Sigma] > 0 and ...
230 views

### Dilation on 3D Images?

I need to apply a dilated convolution to a 3D image, but dilation values greater than 1 are not currently supported in v11.3: ...
259 views

### NetEncoder for images of “Varying” dimension?

I'm looking for someway to do what this syntax "should" do: NetEncoder[{"Image", Automatic, ColorSpace -> "RGB"}] /@ imgs; The documentation states that ...
110 views

### Visualizing Trained Filters

In the first convolutional layer of NetModel "Wolfram..." , the parameters of the filter are 64 (number of filters), and 112x112 (size). The last convolutional layer has 192 55x55 filters. What ...
190 views

### Convolution Fitting

Here I have a piecewise function g: ...
72 views

### Infinite long sequence convolution error

I use version 11.2. ...
388 views

### Incorrect evaluation of a convolution

I want to evaluate a convolution for a stripe function and a Gaussian: ...