全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
399 0
2021-09-19
sigma=0.41
theta=1.2
f<-function(x,sigma=0.41,theta=1.2){
  x>0
  sqrt(2/pi)*(theta/x)*(x/sigma)^theta*exp(-(x/sigma)^(2*theta)*(1/2))
}
plot(f)


sigma=2.4
theta=1.2
yita=1/sigma
z<-function(x,yita=1/sigma,theta=1.2){
  x>0
  sqrt(2/pi)*(theta/x)*(x*yita)^theta*exp(-(x*yita)^(2*theta)*(1/2))
}
plot(z)
这两个代码的函数一样,只是参数有替换,为什么画出来的图不一样

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群