如何绘制x+;在MatLab中使用ezplot实现y

如何绘制x+;在MatLab中使用ezplot实现y,matlab,Matlab,我在MatLab中尝试了ezplot ezplot('1.395x-1.935y+16.65') 但出现以下错误: Error using inlineeval (line 14) Error in inline expression ==> 1.395x-1.935y+16.65 Error: Unexpected MATLAB expression. Error in inline/feval (line 33) INLINE_OUT_ = inlineeval(INLINE

我在MatLab中尝试了
ezplot

ezplot('1.395x-1.935y+16.65')
但出现以下错误:

Error using inlineeval (line 14)
Error in inline expression ==> 1.395x-1.935y+16.65
Error: Unexpected MATLAB expression.
Error in inline/feval (line 33)
    INLINE_OUT_ = inlineeval(INLINE_INPUTS_, INLINE_OBJ_.inputExpr, INLINE_OBJ_.expr);
Error in ezplotfeval (line 51)
    z = feval(f,x(1));
Error in ezplot>ezplot1 (line 468)
    [y, f, loopflag] = ezplotfeval(f, x);

Error in ezplot (line 144)
    [hp, cax] = ezplot1(cax, f{1}, vars, labels, args{:});

我想你忘了放一个乘法符号(
*
)。试试这个:

ezplot('1.395*x-1.935*y+16.65')