필터 지우기
필터 지우기

using summation and modulus?

조회 수: 1 (최근 30일)
JL555
JL555 2015년 9월 10일
댓글: Walter Roberson 2015년 9월 17일
i think this is clearer
and that Fi(Pi) have to substituted here.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 9월 10일
I am having a difficult time reading that. It is a low quality image and my eyes are having trouble.
It looks to me as if it might read
F[i](P[G,i]) = a[i]*P[G,i]^2 + b[i]*P[G,i] + c[i] + abs( conjugate(e[i]) * sin( conjugate(f[i]) * (P[G,i min] - conjugate(P[G,i])) )
where I have represented subscript by [].
Please confirm that I have the operations right. For example, why did they use implicit mulitplication for a[i]*P[G,i]^2 but explicit multiplication inside the abs() ? And the conjugate bars are displaced from where I would expect them to be. What is "PG,i min" intended to mean?
  댓글 수: 22
JL555
JL555 2015년 9월 17일
편집: JL555 2015년 9월 17일
I just want something that in the end the result for Pi should be a 1x6 matrix. Thats the problem i dont know to code that part.
Walter Roberson
Walter Roberson 2015년 9월 17일
Go back to the code you posted above
Change the lines
ai=data(:,1);
bi=data(:,2);
ci=data(:,3);
ei=data(:,6);
fi=data(:,7);
to
ai = data(:,1) .';
bi = data(:,2) .';
ci = data(:,3) .';
ei = data(:,6) .';
fi = data(:,7) .';
then they will all agree in size, 1 x 6, with your 1 x 6 Pi, and you will not get the error about matrix dimensions not agreeing for .*

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by