Demo entry 6339953

Matlab

   

Submitted by anonymous on Dec 27, 2016 at 03:39
Language: Matlab. Code size: 380 Bytes.

function y = LSTF_GEN(WlanFormat,TxParameter)

    if strcmp(WlanFormat,'Non-Ht')
        Amp_adj = sqrt(13/6);
    else Amp_adj = sqrt(1/2);
    end 

    L_STF_ini=Amp_adj.*[0,0,0,0,0,0,0,0,1+j,0,0,0,-1-j,0,0,0,1+j,0,0,0,-1-j,0,0,0,-1-j,0,0,0,1+j,0,0,0,...
                            0,0,0,0,-1-j,0,0,0,-1-j,0,0,0,1+j,0,0,0,1+j,0,0,0,1+j,0,0,0,1+j,0,0,0,0,0,0,0];
    

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).