关于含有最值函数图形的实现。
이전 댓글 표시

下面是自己编的。希望各位大神帮忙修改一下,谢谢
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;
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!