photo

Jeong Ho


Princeton University

2012년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


Stop Figures Window on the progress of Global Optimization Toolbox from maximizing itself
Hi, I'm running a global optimization toolbox's simulated annealing algorithm. I enabled graphics by options = saoptimset('Di...

대략 9년 전 | 답변 수: 1 | 0

1

답변

질문


Writing a function with many outputs, and maximizing over the first output
Dear all, Hi, I want to maximize a multi-variable function myfun(x), where x is a vector over which we maximize. I'm using Gl...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


repeat a vector with a pattern
I have a vector v=[1 2] and another vector (1 x n) k (e.g., [1 7 9]). I want to create a new vector, [v+2*k(1) v+2*k(2) ... v...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


more efficient alternative to repeated bsxfun?
Dear all, Hi, I have bsxfun(@times,bsxfun(@minus,A,B),C) i.e., repeated bsxfun, where A is (N x L) matrix, B and C a...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Creating a matrix of first-order partial correlation coefficients from a correlation matrix
Dear all, I have a correlation matrix R (of a n-dimensional random vector), and I want to create matrices of first-order partia...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Simultaneously inverting many matrices
Dear all, I have many 2-by-2 matrices (which are covariance matrices). I want to invert them all. I'm curious if there's an eff...

9년 초과 전 | 답변 수: 5 | 0

5

답변

질문


Defining formulas for diagonal and offdiagonal elements of a matrix
I have a vector M. I want to create a matrix s.t. A(j,j) = M(j)*(1 + (M(j)-1)*roh_w) A(j,k) = M(j)*M(k)*roh_b, whenever j...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Data matrix manipulation in Matlab
Hi, I have a data matrix, and each row is (t, i, row_vector), i.e., the first two elements represent time t and individual i, an...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Computing many probabilities without a for loop
Hi, I have N X 2 matrix, mu, and N X 3 matrix, SIGMA, where mu(i,:) is a row vector of expectations for i-th bivariate normal di...

9년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
storing only part of the output of a function with multiple outputs
Dear Star Strider, Thank you so much; works like a charm! Best, John

9년 초과 전 | 0

질문


storing only part of the output of a function with multiple outputs
Suppose you have a function with many outputs, e.g., [C,ia] = setdiff(A,B) I am only interested in ia and not C. Is there ...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


repeating a vector with increments
Dear Matlab Central users, Hi, I have a row vector I and I want to create a row vector [I I+n I+2*n ... I+(N-1)*n] where N>1 ...

거의 10년 전 | 답변 수: 2 | 0

2

답변

질문


Subscript indices must either be real positive integers or logicals.???
Dear all, I have defined the following function, where E is a 2-by-1 vector, Vn 2-by-2 matrix, c, u, sig_u_sn, sig_e_sn, gbar...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Generating A(i,j) = [i; j]
Hi, is there a clean way to generate a matrix A(i,j) = [i; j], especially without resorting to loops? Thank you so much!

거의 12년 전 | 답변 수: 2 | 0

2

답변