关于laguerreL函数的疑问。

8 visualizaciones (últimos 30 días)
aiubymu
aiubymu el 18 de Mayo de 2023
Respondida: sleimben el 18 de Mayo de 2023
在使用拉盖尔函数时,如果拉盖尔多项式中未知数是由另外的多个未知数构成,如何能够正确构成它的拉盖尔多项式,下面为例子
syms w y
x=w^4+y^4;
f1(x)=laguerreL(4, x);%拉盖尔多项式
错误提示
错误使用 sym/subsindex (line 855)
Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function arguments must be symbolic variables, and
function body must be sym expression.
出错 sym/privsubsasgn (line 1126)
L_tilde2 = builtin('subsasgn',L_tilde,struct('type','()','subs',{varargin}),R_tilde);
出错 sym/subsasgn (line 963)
C = privsubsasgn(L,R,inds{:});
出错 Untitled28 (line 3)
f1(x)=laguerreL(4, x);%拉盖尔多项式

Respuesta aceptada

sleimben
sleimben el 18 de Mayo de 2023
syms x(w,y)
x(w,y) = w^4 + y^4;
f1(w,y) = laguerreL(4, x)

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!