採用された回答

Roger Stafford
Roger Stafford 2013 年 11 月 21 日

0 投票

That's easy. Subtract the dataset's mean value from each element. Then divide each element by the dataset's standard deviation. My question to you is, why would you want to do such a thing?

1 件のコメント

subha
subha 2013 年 11 月 21 日
編集済み: subha 2013 年 11 月 22 日
i want to give zero mean and unit variance Gaussian input to my restricted boltzmann machine

サインインしてコメントする。

その他の回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2013 年 11 月 21 日

0 投票

Normally distributed:
out = randn(1000,1);

2 件のコメント

subha
subha 2013 年 11 月 21 日
This will generate some random numbers with zero mean and 1 variance.But,i want to get input from a dataset which has zero mean and 1 variance.So for that i want to make my dataset to that condition
subha
subha 2013 年 11 月 22 日
編集済み: subha 2013 年 11 月 22 日
randn() will generate any random values with standard normal distributed value.am i right? how to generate random values fr0m the dataset using randn command

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeTime Series についてさらに検索

質問済み:

2013 年 11 月 21 日

編集済み:

2013 年 11 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by