필터 지우기
필터 지우기

Info

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

How do I merge 3 estimated parameters stored in 3 different cells?

조회 수: 1 (최근 30일)
Tejaswini Ramesh
Tejaswini Ramesh 2015년 3월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
If I use
load para1
m1=para;
load para2
m2=para;
load para3
m3=para;
m=merge(m1,m2,m3)
it gives the error Undefined function 'merge' for input arguments of type 'cell' Para is the cell 20X1 where the parameters are stored.
Kindly help, Thanks in advance.

답변 (1개)

Star Strider
Star Strider 2015년 3월 12일
The cat function may be what you’re looking for.
  댓글 수: 3
Stephen23
Stephen23 2015년 3월 12일
편집: Stephen23 2015년 3월 12일
@Tejaswini Ramesh: Neither the word "covariance" nor "mean" appears anywhere in your question. Sorry, but we can't read minds yet, although we do try.
Can you please edit your question and instead of giving us some broken code that uses a non-existent function you should actually tell us details of what you want to do. This includes examples of the input and output values.
Please read this, and follow its advice if you actually want to get some help:
Star Strider
Star Strider 2015년 3월 12일
Do you have some sort of reference for that? I never heard of that procedure.
If you want to do inverse-variance weighting and then add the weighted parameters, with the variances of the parameters being the corresponding elements of the diagonal of the covariance matrix, something like this may work:
m = para1./diag(cov1) + para2./diag(cov2) + para3./diag(cov3);
where ‘cov1’ is the covariance matrix associated with ‘para1’, and so for the others.
I make no claim that this is a statistically valid technique.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by