# Questions tagged [convolution]

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

114 questions
Filter by
Sorted by
Tagged with
129 views

77 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 ...
66 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 ...
74 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 ...
23 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 ...
228 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,...
51 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 ...
24 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: ...
196 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? ...
31 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 ...
81 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 ...
331 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 ...
228 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 : ...
199 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 ...
217 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: ...
231 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 ...
107 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 ...
151 views

### Convolution Fitting

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

### Infinite long sequence convolution error

I use version 11.2. ...
365 views

### Incorrect evaluation of a convolution

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

### Simple convolution

I have two lists, x and y, each of length Nx. I'm trying to create a function that gives the cross correlation at lag n. My attempt thus far is as follows: ...
518 views

### Convolution of Gaussian and Lorentzian functions

I have a Gaussian and a Lorentzian function here; gd[v_] = Sqrt[(4*Log/Pi)]*(1/Dw)*Exp[-4*Log*((v - v0)/Dw)^2] gl[v_] = (Lw/2/Pi)/((v - v0)^2 + (Lw/2)^2); ...
83 views

### Problem when trying to reverse function

A minimal example is below. I'm trying to reverse function y1d. ...
105 views

### Functional form of Delta function to perform convolution of continuous functions

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a ...
161 views

### Numerical Integration Error

I'm new to Mathematica. I have written a code for performing a convolution integral (as follows) but it seems to be giving out error messages: My code is: ...
206 views

### Why doesn't the following code for recursive convolution work?

I'm trying to play with central limit theorem using Mathematica, so I wrote the following code, ...
229 views

### Computer convolution of sech squared function

I try to compute the analytic form of the convolution of $\operatorname{sech}$ squares function. Mathematica takes so much time to try and find the answer. Here is my code: ...