1 / 10

# 第二章 一元微分学及其应用 - PowerPoint PPT Presentation

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about ' 第二章 一元微分学及其应用' - emmly

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

9.3 概率、统计实验

Y= pdf (name, K, A )

Y= pdf (name, K, A, B )

Name(概率密度函数名)

‘bino’

‘chi2’

‘norm’

‘poiss’

‘t’

T分布

‘unif’

‘unid’

>>p = pdf ('bino',10,30,0.1)

p = 3.6528e-004

2 计算正态分布N（0，1）的随机变量在X=0.6567的密度函数值．

>> y = pdf (‘norm’, 0.6578, 0, 1 )

y = 0.3213

mean (x)

x为向量，求x的各元素的平均值

median (x )

x为向量，求x的各元素的中位数

• 二、计算随机变量数值特征的值

geomean (x )

x为向量，求x的各元素的几何平均值

harmmean (x)

x为向量，求x的各元素的调和平均值

var (x )

x为向量，求x的各元素构成的样本的方差

std (x )

x为向量，求x的各元素构成的样本的标准差

3 已知向量x = [14.7 15.2 14.9 15.32 15.32 ]，求x的各元素的平均值、中位数、几何平均值、调和平均值、各样本的方差、各样本的标准差．

>>x=[14.7 15.2 14.9 15.32 15.32 ];

>>y1= mean (x)

y1 =15.0880

>>y2= median (x)

y2 =15.2000

>> y3= geomean (x)

y3 =15.0860

y4 =15.0839

>>y5= var (x)

y5 =0.0765

>>y6= var (x,1)

y6 =0.0612

>> y7= std (x)

y7 =0.2766

4 已知

，求

>> normspec ( [-inf , 8 ], 6.1, 1.3 )

ans = 0.9281

MATLAB典型函数

MATLAB典型函数

abs(x)

tan(x)

sqrt(x)

cot(x)

exp(x)

atan(x)

sin(x)

acot(x)

cos(x)

log(x)

asin(x)

Log10(x)

acos(x)