20 views (last 30 days)

I have a complex matrix A of size and another complex matrix P that has same size as A. But abs(P) = ones(size(M,N)) which indicates that P only contains phase related components and since it only contains phase related components it wont effect abs(A) when A.*P is performed. Coming to my problem. I want to reduce the complex multiplications of A.*P to complex additions angle(A) + angle(B). The pseudo code is as follows.

while above the interface

A = A.*P;

Accum(i,:) = sum(A,1);

i = i+1

end

I am stuck in the accum part. I am not getting how to join both absolute and phase without multiplying them before I sum all the M rows.

My approach so far as been follows:

absA = abs(A);

anA = angle(A);

anP = angle(P)

while above the interface

anA = anA + anP;

Accum(i,:) = sum(A,1); % I am stuck in the Accum part

i = i+1

end

James Tursa
on 12 Mar 2020

Edited: James Tursa
on 12 Mar 2020

Sign in to comment.

Sign in to answer this question.

Opportunities for recent engineering grads.

Apply Today
## 5 Comments

## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808856

⋮## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808856

## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808859

⋮## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808859

## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808866

⋮## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808866

## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808931

⋮## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_808931

## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_809109

⋮## Direct link to this comment

https://se.mathworks.com/matlabcentral/answers/510435-simplifying-complex-multiplications-by-means-of-polar-coordinates#comment_809109

Sign in to comment.