photo

Kevin Nelson


Last seen: etwa 2 Jahre vor Aktiv seit 2022

Followers: 0   Following: 0

Statistik

MATLAB Answers

9 Fragen
0 Antworten

RANG
265.583
of 300.763

REPUTATION
0

BEITRÄGE
9 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
0.0%

ERHALTENE STIMMEN
0

RANG
 of 21.082

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 170.923

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

Feeds

Anzeigen nach

Frage


Why does my random walk simulation come out so weird?
Why does my graph come out so weird? I've provided the code: clearvars N = 1000; M = 500; P = cumsum(full(sparse(1:N, randi(...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Confused how to run a loop for each individual value of Nd1?
Nd1 = [5, 10, 50, 100, 500, 1000]; trials2 = 100; sigma = 4; samplevar = zeros(Nd1,1); samplevarbias = zeros(Nd1,1); for i...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Monte Carlo method to estimate pi, but I'm lost
Nd2 = [10, 100, 1000, 1e4, 1e5, 1e6]; % vector of sample sizes. pihat = zeros(size(Nd2)); % vector to contain the estimates of ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why is my code not working? I'm supposed to determine the mean of a biased and unbiased sample variance and plot but it's not working
%% 1. Sample variance bias Nd1 = [5, 10, 50, 100, 500, 1000]; trials2 = 100; sigma = 4; samplevar = zeros(length(Nd1),trial...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I compute the standardized sample mean from this data?
How do I compute the standardized sample mean from this data, in which I have to sample 1000 from an exponential random variable...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I'm definitely doing the exponential distribution wrong, am I?
N = 1e4; a=0; b=1; x = a+(b-a)*rand([N,1]); lambda = 1; Y = -log(x)/lambda; figure(1); clf histogram(x,20,'Normalization',...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Why are my Gaussian distributions not properly being generated?
N1 = 1e4; Y1 = randn(N1,-5,4); % N2 = 1e4; Y2 = randn(N2,5,3); N3 = 1e4; Y3 = randn(N3,0,5); figure(5); clf histogram(Y3...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why isn't my figure consistent? It keeps changing every time
numDays = 365; numTrials = 1000; maxPeople = 80; pn = zeros(maxPeople, 1); for numPeople = 1:maxPeople for i = (1:numT...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Need help finding out if I wrote this code correctly
N = 365; n = (1:80); for M = 1:1000 j = (1:n); pn = 1-(1-((n-1)/N)); end %% fig = figure(1); clf plot(pn) xlabe...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten