错误信息如下
??? Error using ==> inlineeval
Error in inline expression ==> 6.*x,6.*(1-cos(x))
??? Error: Missing MATLAB operator.
Error in ==> inline.feval at 34
INLINE_OUT_ = inlineeval(INLINE_INPUTS_, INLINE_OBJ_.inputExpr, INLINE_OBJ_.expr);
Error in ==> specgraph\private\ezplotfeval at 54
z = feval(f,x(1));
Error in ==> ezplot>ezplot1 at 434
[y,f,loopflag] = ezplotfeval(f,x);
Error in ==> ezplot at 140
[hp,cax] = ezplot1(cax,f{1},vars,labels,args{:});
------------------------------------------------
写错了,是ezplot('6*(t-sin(t)),6*(1-cos(t))',[-10*pi,10*pi]);
依然报上面的错误。
你这只是一条显式的三角函数曲线。
我要画的是一个参数方程
ezplot('6*(x-sin(x),6*(1-cos(x))',[-10*pi,10*pi]);
ezplot不是有 ezplot('(x,y)',[tmin,tmax]) 这种形式吗?
%% ezplot(funx,funy,[tmin,tmax])
ezplot('6*(x-sin(x))','6*(1-cos(x))',[-10*pi,10*pi]);