Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How can I make a script for an operation on a function in Matlab?

1 view (last 30 days)
Hi; I am trying to calculate a series of polynomials in Matlab. And I have the given form for it:
f(x) = A*(-1)^n*[(d/dx)-x]^n* exp(B*C*x)
where A, B and C are arbitrary constants to be reported in the result of the operation as they are, and n is the polynomial to be applied on the operator [(d/dx)-x] in the 1, 2, 3, 4 and 5 level.
This means that for the 1 level, only the following operation occurs and gives the result:
f(x) = A*(-1)*[(d/dx)(exp(B*C*x)-x*(exp(B*C*x)]
However, for the 2, 3 4 and 5th order, it becomes quite messy to do by hand. I would like to learn how to make the script for this. Please send me a link or a suggestion on how this should look like.
Thanks

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!