How to Find the Frequency Response of a Communication Channel from Input and Output Symbols in MATLAB?
I'm not sure about the symbols.
Yet if you have a function in time as the input of the channel and another function in time which is the output of the channel and assuming the channel doesn't have zeros in the spectrum and the input function as well, the channel Transfer Function is given by:

$$ \frac{{X}_{Out}(f)}{{X}_{In}(f)} $$

In MATLAB, just apply FFT on each, and do element by element division.
This will give you the DFT of the transfer function.
Apply IFFT to see the time response function.