刚开始接触matlab,能不能帮忙看一下如果做下边两道题.谢谢
1.
Verify that the exponential probability density fucntion with
parameter lamda integrates to 1. Use the MATLAB functions quad or quadl.
See help for information on how to use these functions.
2.
Using the functions fminbnd (available in th standard MATLAB package),
find the value for x where the maximum of the N(3,1) probability density
occurs. Note that you have to find the minimun of -f(x) to find the
maximumm of f(x) using these functions.