clear all; close all; clc; x=0:0.00001:1; plot(x,x,'k'); hold on y=-3*x.^2+2.5*x+0.5; plot(x,y,'k'),axis([0 1.2 0 1.2]);
2.5x写错了吧2.5*x
这里不是x=0.4吗