I have a list of solutions Subscript[x, 1][t], i = 1,...,n (n given).
I would like to use these variables to define new variables such as:
i = 1; For[i = 1, i <= n, i++, Subscript[X, i][t_] := Subscript[x, i][t] /. sol]
I know that this code is not working and I know why. However, I would like to ask you if there is a way how to define these variables at once (without having to define them one by one)?
Thank you very much in advance for your help.