Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Interpolation on a Convoluted Function

1 visualización (últimos 30 días)
jgillis16
jgillis16 el 17 de Ag. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have the following function:
G(tau) = integral(-inf, inf) h_x(t)*h_+(t+tau)dt
where tau = T, h_x = Y1, h_+ = W1, and t = X1.
And: T = 0.0001, Y1 = 55488x1 double, W1 = 55488x1 double, X1 = 55488x1 double.
I will need to perform a convolution of the two given functions as I need to identify the overlap between two functions.
Therefore, assuming my X1 vector is ordered, I used the trapezoidal rule to evaluate the integral:
G(tau) = (Y1(t1)*W1(t1+tau)+Y1(t2)*W1(t2+tau))/2 * (t2-t1) +
(Y1(t2)*W1(t2+tau)+Y1(t3)*W1(t3+tau))/2 * (t3-t2) + ...+
(Y1(t55487)*W1(t55487+tau)+Y1(t55488)*W1(t55488+tau))/2 * (t55488-t55487)
But, in order to get W1(ti+tau), I will need to use interpolation. How would I go about doing this?
  1 comentario
Torsten
Torsten el 17 de Ag. de 2015
help interp1
Best wishes
Torsten.

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by