关于含有最值函数图形的实现。
Mostra commenti meno recenti

下面是自己编的。希望各位大神帮忙修改一下,谢谢
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;
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Scatter Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!