楼主: 风易。。
1044 0

[问答] matlab编程求助 [推广有奖]

  • 8关注
  • 3粉丝

已卖:469份资源

教授

50%

还不是VIP/贵宾

-

威望
0
论坛币
4911 个
通用积分
1.0000
学术水平
2 点
热心指数
4 点
信用等级
2 点
经验
18846 点
帖子
410
精华
0
在线时间
2479 小时
注册时间
2009-4-4
最后登录
2022-4-22

楼主
风易。。 发表于 2016-1-15 17:26:31 |AI写论文
50论坛币
谢谢大家。(第一题已经做出来,求助第二、三题)
1.
a) Use the random number generator with to generate 10000 uniformly distributed random numbers on and plot the histogram.
b) Generate 10000 uniformly distributed distributed random numbers on using built-in function of MATLAB.
c) Compare the histograms obtained in parts a) and b).
2.
a) Use the numbers generated in problem 1 a) to generate 10000 random numbers that represent the daily price fluctuation of a financial asset that can have an increase of 100 with probability 0.45 , a decrease of 200 with probability 0.25, or stays the same with probability 0.3.
b) Plot the histogram and the empirical distribution function obtained using the data generated in part a).


3.
Generate 5000 Binomial distributed random numbers by doing:
a) Use Bernoulli random variables. Plot the empirical histogram and using your data to calculate the probability that the Binomial random variable is less than 50. Compare with the theoretical answer.
b) Use the inverse transformation method mentioned in class.
c) Compare the empirical histograms obtained in parts a) and b) and the times required in each method.

关键词:MATLAB编程 MATLAB matla atlab Lab generated represent function decrease increase

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-30 21:56