Duhamel's Integral in MATLAB

36 ビュー (過去 30 日間)
Ryan Smith
Ryan Smith 2018 年 4 月 5 日
回答済み: Daniele Casagrande 2018 年 5 月 21 日
I am trying to solve the equation of motion numerically by using Duhamel's Integral:
How do I code this with MATLAB?

回答 (2 件)

Torsten
Torsten 2018 年 4 月 6 日
udotdot_g=@(x)...;
h=@(x)...;
u=@(t)-integral(@(tau)udotdot_g(tau).*h(t-tau),0,t);
Best wishes
Torsten.

Daniele Casagrande
Daniele Casagrande 2018 年 5 月 21 日
Hi, I dealt with this topic when I studied the dynamic of structures. You could solve your problem by using the " conv" function of Matlab. When you start it, you can start testing with a simple function, such as sin(t) or cos(t) and then you can try an arbitrary time function, for example a seismic or wind signal. Search with the Matlab help for the " conv" function. An advice uses the ' same' type convolution of this function.
Ing. Daniele Casagrande, Italy

カテゴリ

Help Center および File ExchangeSeismology についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by