BER for OFDM-QPSK over Rayleigh Channel The rayleigh channel is a single tap.
   1.
    h=1/sqrt(2)*randn(1,length(txSig_cp))+1i*randn(1,length(txSig_cp));
    fading=h.*txSig_cp;

   2.
    h=1/sqrt(2)*(randn(1,1)+1i*randn(1,1));
    fading=conv(h,txSig_cp);

Which one is correct? or both also wrong. Because I have obtained different results when compared to the berfading function in MATLAB (berfading(EbNoVec,'psk',4,1)).
w = conv(u,v) returns the convolution of vectors u and v. If u and v
are vectors of polynomial coefficients, convolving them is equivalent
to multiplying the two polynomials. (from MATLAB documentation)

Both expressions are correct. In 2., whenever an addend of a convolution operation calls randn in a convolution computation procedure, the callee returns new values for both real and imaginary parts of h.