Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Code for an indicator transform using an existing Gaussian Distribution

조회 수: 1 (최근 30일)
Gumps
Gumps 2018년 10월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
I have this code for a Gaussian distribution and I wish to transform it into an Indicator transform so that I can use ranges assigned for the indicators to do my work. Please how can I code the indicator transform from an existing Gaussian distribution using Matlab?
mu1 = 45;
sigma1 = 31;
samplesize1 = 100;
randvals1 = randn(samplesize1,1)*sigma1 + mu1;
histogram(randvals1);

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by