请教关于可靠度曲线的绘制。

论坛的老师:您好!
假设随机变量服从对数正态分布,计算可靠度曲线R(t),我要算的R(t)中分子和分母均含有log(t)
代码如下:
t=1:3e4;
f=(log(15)+12.4750-1.0975*log(t))./(0.9851-0.0983*log(t));
R=normcdf(f,0,1);
plot(t,R)
为什么不能得到一条光滑曲线呢?是我的f表达式中的参数有问题吗?
谢谢老师!

 Respuesta aceptada

nagejeh
nagejeh el 16 de Nov. de 2022

0 votos

1. 当(0.9851-0.0983lnt)=0时,f=inf,有问题。
2. 你是认为f是个随机变量,服从标准正态分布?否则不应该这么算

Más respuestas (0)

Etiquetas

Preguntada:

el 16 de Nov. de 2022

Respondida:

el 16 de Nov. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!