关于含有最值函数图形的实现。
Afficher commentaires plus anciens

下面是自己编的。希望各位大神帮忙修改一下,谢谢
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;
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Scatter Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!