clear clc;
x=-4:0.1:4;
y1=normpdf(x,0,1);
figure;
plot(x,y1,'LineWidth',2);
hold on
y2=normpdf(x,1,1);
plot(x,y2,'LineWidth',2);
for i=1:length(x)
if x(i)>0.5
plot([x(i),x(i)],[0,y1(i)],'Color',[0.35,0,0.6],'LineWidth',2);hold on
else
plot([x(i),x(i)],[0,y2(i)],'Color',[0.35,0,0.6],'LineWidth',2);hold on
end
end
legend('理论值','观测值','可靠值');

由于博客内容为空,暂无法提供包含关键信息的摘要。
1174

被折叠的 条评论
为什么被折叠?



