photo

george pepper


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Writing nonlinear constraint in fmincon
Hello, I minimize a function with 4 parameters on fmincon. The vector of parameters is b=[a1 a2 b1 b2 ]. How can I add a nonli...

4 years ago | 1 answer | 0

1

answer

Question


Writing cell arrays to Excel
Hello, I have a 100x1 cell array A that looks like A=[A1; A2; ...; A100 ]. Each row i, in turn, is an by 4 vector. The first 2...

4 years ago | 1 answer | 0

1

answer

Question


Starting a parfor loop
Hello, I am completely new to parallel computing with MATLAB. I have a basic for-loop in which I evaluate a complicated functio...

4 years ago | 1 answer | 0

1

answer

Question


Using the parfor loop to minimize a function
Hello, I am completely new to MATLAB's parallel computing and I didn't know how to convert my for loop into a parfor loop. I ha...

4 years ago | 1 answer | 0

1

answer

Question


column dimensions of nonzero elements of each row in a matrix
Hello, I have a 10000 by 6 matrix that looks like A=[0 0 0 0 1 1; 0 1 0 0 1 0; 0 0 1 1 0 0] I would like to get 10000 by 1 ve...

4 years ago | 1 answer | 0

1

answer

Question


Nonparametric moment estimation with an index function
Hello, I try to estimate the mean of the random variable t conditional on t being in a certain category, denoted S_j. The expec...

5 years ago | 0 answers | 0

0

answers

Question


Right-truncating a lognormal distribution
Hello, I would like to compute the probability that P(z<a) where z=exp(x*beta+e) and e is distributed iid N(0,sigma^2). I wo...

5 years ago | 1 answer | 0

1

answer

Answered
vector of truncated distributions
Thank you!

5 years ago | 0

Question


vector of truncated distributions
Hello, I would like to create a vector x such that pd = makedist('Normal'); x(1)=truncate(pd,-inf,y(1)); x(2)=truncate(pd,-in...

5 years ago | 2 answers | 0

2

answers