MATLAB中的Laguerre多项式 [英] Laguerre polynomials in MATLAB
问题描述
我尝试在MATLAB中使用..命令生成Laguerre多项式,但每次都会出现此错误:
I tried using the .. command in MATLAB to generate Laguerre polynomials but I keep getting this error every time:
我在帮助部分找到了这个:
I found this in the help section:
由于我已将 x
定义为符号,所以我不应该遇到此错误.
Since I have defined x
as symbolic I shouldn't be getting this error.
也在网站上我发现这表明该函数未在MATLAB中运行.
Also on website I found this which says that the function does not run in MATLAB.
任何人都可以帮忙吗?预先感谢
Can anyone help? Thanks in advance
推荐答案
就像您说的那样,matlab帮助说此功能仅在mupad内有效,也许在以后的版本中,它在matlab控制台中有效.
Like you say, and the matlab help says this function only works inside mupad, maybe in later versions it works in matlab console.
如果要使用它,请在Matlab命令窗口中编写mupad,然后在mupad中使用它,matlab将为您返回如图所示的结果
If you want to use it, write mupad in Matlab Command window and then use it in the mupad, matlab will return you the result as I show in the picture
这篇关于MATLAB中的Laguerre多项式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!