clear; % clear workspace
close all;  % close all figures
clc; % clear command window


% channel coefficients
load channel_imp_response; % this file contains the vector h
N = length(h);


% constructing the channel matrix H, which is toeplitz
% arguments for the toeplitz function: ([1st column], [1st row])
H = toeplitz([h; zeros(N-1, 1)], [h(1); zeros(N-1, 1)]);
    
%%%%%%%%%%

% Implement your solution here.

%%%%%%%%%%
