calculate the interference vector
显示 更早的评论
i have a communication network with the following entries
B is M*K matrix represents large-scale channel coefficient
γ is M*K matrix represents variance of channel estimation
G is M*K matrix is channel coefficient
g ̃ is ( B - γ) represent channel estimation error
all the matrices above calculated in matlab
M=30
K=10
and now i must also calculate SINR with Zero forcing pecoding , which is the desired signal over the interferebce signal (γ_ki)
where γ_ki is the i-th element of the vector below
γ_k= diag {E(((G ̂^T G ̂^* )^(-1) G ̂^T E (g ̃_k^* g ̃_k^T ) G ̂^* (G ̂^T G ̂^* )^(-1) ))}
where E (g ̃_k^* g ̃_k^T ) represents a diagonal matrix including (B_mk - γ_mk) on its m-th diagonal component
my question is how can i represent γ_ki in matlab
i tried the following expression but it gives error about the different size in matrices
p=(diag(BETAA-Gammaa))
γ_k= (Gammaa'.* conj(Gammaa)).^(-1) .* Gammaa' .* p .* conj(Gammaa) .* (Gammaa'.* conj(Gammaa)).^(-1)
5 个评论
Torsten
2023-5-6
Don't make it so difficult for us to help.
Include executable code and the exact error message you receive.
Torsten
2023-5-6
I doubt it is really elementwise multiplication you need here.
I guess the command must read
γ_k= (Gammaa' * conj(Gammaa))^(-1) * Gammaa' * p * conj(Gammaa) * (Gammaa' * conj(Gammaa))^(-1)
but of course I can't be sure about the matrix sizes.
If the error about the matrix sizes persist, just add the lines
size(Gammaa')
...
to check whether the matrix sizes are compatible.
Note that A' means transpose(conj(A)), not only transpose(A).
Sara
2023-5-6
Torsten
2023-5-6
Gammaa' * p * conj(Gammaa) is not defined:
(10x30) * (10x10) * (30x10) does not make sense.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!