채택된 답변

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 Exchange에서 Time 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