关于含有最值函数图形的实现。
古いコメントを表示

下面是自己编的。希望各位大神帮忙修改一下,谢谢
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!