Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Code for an indicator transform using an existing Gaussian Distribution

1 Ansicht (letzte 30 Tage)
Gumps
Gumps am 31 Okt. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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);

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by