关于含有最值函数图形的实现。
Show older comments

下面是自己编的。希望各位大神帮忙修改一下,谢谢
i=1;
for x=0:0.01:2/9
c=max[(2+3*x)/9,1/9+x,(1-x)/3];
y(1,i)=min[1-log(1-2*x)/log(3),-log(x)/log3]
i=i+1;
end
plot(x,y)
hold on;
scatter (x,y)
hold on;
Accepted Answer
More Answers (0)
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!