Research Article

Secure Downlink Transmission in Cell-Free Massive MIMO System Enhanced by Intelligent Reflecting Surfaces

Algorithm 1

Proposed joint precoding algorithm.
Input: All channels , , , and ; Given , .
Output: Optimized active precoding beamforming parameters ;
   Optimized passive precoding beamforming parameters and .
(1)Initialize and ;
(2)while no convergence of do;
(3) Convert according to formulation (27);
(4) Update according to (20);
(5) Update according to (33);
(6) Update by solving (37);
(7) Update according to (43);
(8) Update by solving (52);
(9)end while
(10)return , and .