![]() You don't even need a computer algebra program at all to get to the answer. Some of those steps you would have to to by hand first, then you could try to re-enter them to Matlab. Then you only need to integrate the function f(x)=1 over this smaller interval. The integrant BoxFunction(s) * BoxFunction(t - s) is again a box function, just not one that goes from but to a smaller interval (that depends on t). The convolution in your example is simply the int_0^t BoxFunction(s) * BoxFunction(t - s) ds. Now I would go and help the computer, fortunately for the example that you asked the answer is very easy. This is not so easy for symbolic computations. This is not really unexpected as the function f is discontinuous. I tried to implement your box function as a function in Matlab as t = sym('t')īut Matlab/MuPad failed to give you and explicit expression in terms of t. ![]() You might find this link useful (wikibooks) for an introduction on the MuPad in Matlab. So what you want to know is how it works in Maple. This is essentially a Maple plugin for Matlab. For this you need the Matlab Symbolic Toolbox. What you mean with the integral definition is that you want to do it symbolically. To do the convolution with the Matlab conv functions means you do it numerically. I don't know much about Mathematica so I can only help you (partially) about the Matlab part.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |