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

1 view (last 30 days)
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
samriti bali
samriti bali on 23 Jul 2018
https://en.wikipedia.org/wiki/Laguerre_polynomials
Aarti Dwivedi
Aarti Dwivedi on 23 Jul 2018
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

Aarti Dwivedi
Aarti Dwivedi on 23 Jul 2018
laguerreL can generate Laguerre polynomial and function for you, since that is what you are looking for, as per your comments.
  3 Comments
samriti bali
samriti bali on 23 Jul 2018
thanks a lot ma'm....laguerreL has really helped me...will take care of ur points in future...
Aarti Dwivedi
Aarti Dwivedi on 23 Jul 2018
If the answer helped you, click on "accept answer".

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!