help regarding ((differen​tiation-1)​^n)*x^n

how to simulate this equation in matlab....i am getting error 'unexpected matlab equation'.... 1/factorial(n)((d/dx-1)^n)*x^n

7 Comments

What is your actual code? The error message suggests you are trying to use implied multiplication.
hi... there is no code actually..just want to type this equation in matlab and check its output...only need to simulate this equation...want the actual syntax of ((d/dx-1)^n)*x^n
What is that intended to mean? The nth derivative of -1 ?
https://en.wikipedia.org/wiki/Laguerre_polynomials.... sir i have sent u d link ...please check the 4th equation...this is the equation i wanted to simulate
Do you want to differentiate (n-1) time the function f(x)=x^n ? Is that your question ?
https://en.wikipedia.org/wiki/Laguerre_polynomials
Why don't you write the code yourself and then ask for help instead of pointing to an equation and asking people to write it for you? What do you mean when you say "no code, just want to type this equation in matlab and check its output"? You can check the output of any formula by breaking it down into smaller parts that a computer can compute. For this particular case, you would need to break it into factorial calculation, binomial expansion, differentiation, creating the interval of evaluation. Parts of what you need are already built into MATLAB, some you may have to write yourself. Once you have done THAT, then we can help with the difficulties you are facing.

Sign in to comment.

 Accepted Answer

laguerreL can generate Laguerre polynomial and function for you, since that is what you are looking for, as per your comments.

3 Comments

thank u ma'm for your suggestions and help...
thanks a lot ma'm....laguerreL has really helped me...will take care of ur points in future...
If the answer helped you, click on "accept answer".

Sign in to comment.

More Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!