Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How would you write a function for a convolution integral?

5 ビュー (過去 30 日間)
Alyssa Cleveland
Alyssa Cleveland 2016 年 5 月 2 日
コメント済み: Gautam Mohan 2016 年 5 月 4 日
for example: Let f(t) and g(t) be known functions and a and b known variables (assume these all exist in MATLAB workspace). Write an anonymous function that computes the following convolution integral of f(t) and g(t) (f*g)(t) = integral from [0,t] f(s)*g(t-s) ds Treat t as a variable, so that your anonymous functio should be of the form: myConvolution = @(t) ….. You may use a built-in quadrature function(quad for example)
  2 件のコメント
John D'Errico
John D'Errico 2016 年 5 月 2 日
Rather than just posting your homework assignment, why not try solving it first? Then if you do get stuck, you may get an answer. As it is...
Gautam Mohan
Gautam Mohan 2016 年 5 月 4 日
Hi Alyssa,
It is against our community guidelines to directly post homework questions on MATLAB answers. I suggest consulting the following thread on techniques you can use to formulate your question in a way that the community can help you:
Best of luck!

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by