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

7 件のコメント

Walter Roberson
Walter Roberson 2018 年 7 月 23 日
What is your actual code? The error message suggests you are trying to use implied multiplication.
samriti bali
samriti bali 2018 年 7 月 23 日
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
Walter Roberson
Walter Roberson 2018 年 7 月 23 日
What is that intended to mean? The nth derivative of -1 ?
samriti bali
samriti bali 2018 年 7 月 23 日
編集済み: Walter Roberson 2018 年 7 月 23 日
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
Dimitris Kalogiros
Dimitris Kalogiros 2018 年 7 月 23 日
Do you want to differentiate (n-1) time the function f(x)=x^n ? Is that your question ?
samriti bali
samriti bali 2018 年 7 月 23 日
https://en.wikipedia.org/wiki/Laguerre_polynomials
Aarti Dwivedi
Aarti Dwivedi 2018 年 7 月 23 日
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.

サインインしてコメントする。

 採用された回答

Aarti Dwivedi
Aarti Dwivedi 2018 年 7 月 23 日

0 投票

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

3 件のコメント

samriti bali
samriti bali 2018 年 7 月 23 日
thank u ma'm for your suggestions and help...
samriti bali
samriti bali 2018 年 7 月 23 日
thanks a lot ma'm....laguerreL has really helped me...will take care of ur points in future...
Aarti Dwivedi
Aarti Dwivedi 2018 年 7 月 23 日
If the answer helped you, click on "accept answer".

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by