Introduction - If you have any usage issues, please Google them yourself
Two kinds of least square algorithm for parameter identification of second-order system, one can directly get the transfer function between input and output, the other can solve the coefficients of linear difference equation, and then get the transfer function by inverse solution. The attached model of a second-order system can download the input and output data for test.