我的程序问题在哪儿,ezplot参数需注意什么问题?
各位大虾,小女这厢有礼了;
我的程序是这样的
a1=linspace(0,2*pi,1000);
a2=3*a1/4+0.08*cos(3*a1+3*pi/2);
syms a1 a2 t ;
g=0.75-0.24*sin(3*a1+3*pi/2);
f=atan(t);
k1=compose(f,g);
k2=pi/2-k1;
y2=54*sin(k2).*sin(a2);
ezplot(a2,y2);
出现如下错误
?? Error using ==> inline/feval
Not enough inputs to inline function.
Error in ==> D:\ProgramFiles\matlab\toolbox\matlab\specgraph\ezplot.m (ezparam)
On line 323 ==> Y = feval(y,T);
Error in ==> D:\ProgramFiles\matlab\toolbox\matlab\specgraph\ezplot.m
On line 143 ==> ezparam(f{1},f{2},vars,labels,varargin{2:end});
Error in ==> D:\ProgramFiles\matlab\toolbox\symbolic\@sym\ezplot.m
On line 52 ==> ezplot(f(1).s,f(2).s)