How can I solve the following integral equation

1 次查看(过去 30 天)
How can I solve the following integral equation in MATLAB numerically:
where:

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-4-20
编辑:Ameer Hamza 2020-4-20
Try this
A = @(t) t.^2; % equation of A w.r.t. t. A(t) = t^2 for example
% f as function of t and w
f = @(t,w) A(t).*cos(w.*t) + integral(@(tau) w.*A(tau).*sin(w.*tau), 0, t);
Evaluate it like this
t = 10;
w = 2;
y = f(t,w);
>> y
y =
8.8335

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by