symbolic integral from parametric function?
29 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a function which I want to get the integral from 0 to Inf but it is in parametric format and the only variable is w (inside the integral we will have dw) but there are lots of errors would you please help me:
clc
clear all
close all
syms k x y t
my_fun =@(w) (-2.*w+(2-(k+1)./w).*(1-(w.*y)-k)).*(exp(-w.*y)).*(exp(1j.*(w.*(x-t))));
q = int(my_fun,0,Inf)
0 comentarios
Respuestas (1)
Star Strider
el 14 de En. de 2016
This didn’t generate any errors, but it didn’t produce any useful output, either:
syms k x y t w
my_fun(w) = (-2.*w+(2-(k+1)./w).*(1-(w.*y)-k)).*(exp(-w.*y)).*(exp(1j.*(w.*(x-t))));
q = int(my_fun, w, 0, Inf)
q =
int(-exp(-w*y)*exp(-w*(t - x)*1i)*(2*w - ((k + 1)/w - 2)*(k + w*y - 1)), w, 0, Inf)
You will need to evaluate this numerically to get useful results.
0 comentarios
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!