In this study, we use the algorithm proposed in the prior study [1]} that solves an LQR problem for an unknown linear plant with collected input-output data.
This algorithm is shown in Algorithm  REFIn creating this pseudocode representation, we used [2]} as a reference.,
[t]
Model-Free Policy Iteration Algorithm for State Feedback LQR [1]}

Data Collection. Apply \({u}(t) = K_0 {x}(t) + {\nu }(t)\)  to the system to collect data for \(t \in [t_0,~t_0 + lT_{dc}]\) , where \(T_{dc}\)  is the interval length for data collection and \({\nu }(t) \in \mathbb {R}^{m}\)  is the exploration signal.
