Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-04-29
年龄: 36
帖子: 7
声望力: 0 ![]() |
![]()
百度,GOOGLE还有MATLAB的帮助里都只有一点点资料。
我想知道多点关于这个函数的知识啊。。 fsurfht(fun,xlims,ylims,p1,p2,p3,p4,p5) 这边p1p2表示什么呢? 还有这段: Create a function containing the following commands, and name it gauslike.m. function z = gauslike(mu,sigma,p1) n = length(p1); z = ones(size(mu)); for i = 1:n z = z .* (normpdf(p1(i),mu,sigma)); end The gauslike function calls normpdf, treating the data sample as fixed and the parameters µ and σ as variables. Assume that the gas prices are normally distributed, and plot the likelihood surface of the sample. 这边事说画了个正态分布?? 我对这个函数一点都不懂哎,搜也搜不出什么,只好来这边问问。 请各位帮助我一下。我想知道用法和具体的一些例子。这是老师的课后作业,感激不尽啊 |
![]() |
![]() |