0
目前我正在试图通过绘制f(x) = r*x*(1-x)
(其中r =3
)和y=x
在同一张图:绘制逻辑图
syms r x;
f = symfun(r*x*(1-x), x)
r = 3
plot(f,x)
plot(x,x)
但我的代码保存导致错误:
Error using plot
A numeric or double convertible argument is expected
请有人可以帮助指出我出错的地方吗?