All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 777a4500 authored by Ben Wojtowicz's avatar Ben Wojtowicz

Fixed license statement and bug in find_pss_and_fine_timing

parent 22846ac2
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: cmn_bin2dec
......@@ -24,6 +24,7 @@
% Spec: N/A
% Notes: None
% Rev History: Ben Wojtowicz 11/22/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [dec] = cmn_bin2dec(array, num_bits)
[num_array, junk] = size(array);
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: cmn_conv_encode
......@@ -30,6 +30,7 @@
% Spec: N/A
% Notes: None
% Rev History: Ben Wojtowicz 11/22/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [out] = cmn_conv_encode(in, k, r, g, tail_bit)
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: cmn_dec2bin
......@@ -24,6 +24,7 @@
% Spec: N/A
% Notes: None
% Rev History: Ben Wojtowicz 11/22/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [array] = cmn_dec2bin(dec, num_bits)
[junk, num_dec] = size(dec);
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: cmn_oct2bin
......@@ -24,6 +24,7 @@
% Spec: N/A
% Notes: None
% Rev History: Ben Wojtowicz 11/22/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [array] = cmn_oct2bin(oct, num_bits)
[junk, num_oct] = size(oct);
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: cmn_viterbi_decode
......@@ -27,6 +27,7 @@
% Spec: N/A
% Notes: Currently only supports hard bits
% Rev History: Ben Wojtowicz 11/22/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [out] = cmn_viterbi_decode(in, k, r, g)
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_bch_channel_decode
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.212 section 5.3.1 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 11/12/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [mib, N_ant] = lte_bch_channel_decode(bch_bits)
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_bch_channel_encode
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.212 section 5.3.1 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/30/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [bch_bits] = lte_bch_channel_encode(mib, N_ant)
% Check mib
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_calc_crc
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.212 section 5.1.1 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 11/18/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [crc_bits] = lte_calc_crc(in_bits, crc_type)
% Check crc_type
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_cfi_channel_decode
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.212 section 5.3.4 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 12/26/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [cfi] = lte_cfi_channel_decode(cfi_bits)
% Calculate the number of bit errors for each CFI
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_cfi_channel_encode
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.212 section 5.3.4 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 12/26/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [cfi_bits] = lte_cfi_channel_encode(cfi)
% Check cfi
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_fdd_dl_receive
......@@ -23,6 +23,8 @@
% Spec: N/A
% Notes: Only supports normal cyclic prefix
% Rev History: Ben Wojtowicz 12/26/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement and bug
% with find_pss_and_fine_timing
%
function [] = lte_fdd_dl_receive(input_samps)
% DEFINES
......@@ -269,7 +271,7 @@ function [fine_start, N_id_2, pss_symb, pss_thresh] = find_pss_and_fine_timing(i
fine_start(6) = pss_timing_idx + (2048+144)*5 + 2048+160 - 15360;
fine_start(7) = pss_timing_idx + (2048+144)*6 + 2048+160 - 15360;
while(fine_start(1) < 1)
fine_start = fine_start + 15360;
fine_start = fine_start + 307200;
endwhile
endfunction
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_fdd_dl_transmit
......@@ -26,6 +26,7 @@
% Spec: N/A
% Notes: Only supports normal cyclic prefix
% Rev History: Ben Wojtowicz 12/26/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [output_samps] = lte_fdd_dl_transmit(bandwidth, N_frames, N_id_2, N_id_1, N_ant)
% DEFINES
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_generate_crs
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.211 section 6.10.1.1 v10.1.0
% Notes: Currently only handles normal CP
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [r] = lte_generate_crs(N_s, L, N_id_cell)
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_generate_prs_c
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.211 section 7.2 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [c] = lte_generate_prs_c(c_init, seq_len)
% Initialize the m-sequences
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_generate_pss
......@@ -23,6 +23,7 @@
% Spec: 3GPP TS 36.211 section 6.11.1.1 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [pss_d_u] = lte_generate_pss(N_id_2)
% Validate N_id_2 and get the root index
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_generate_sss
......@@ -29,6 +29,7 @@
% Spec: 3GPP TS 36.211 section 6.11.2.1 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [sss_d_u_0, sss_d_u_5] = lte_generate_sss(N_id_1, N_id_2)
% Validate N_id_1
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_layer_demapper
......@@ -26,6 +26,7 @@
% Spec: 3GPP TS 36.211 section 6.3.3 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [d] = lte_layer_demapper(x, N_cw, style)
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_layer_mapper
......@@ -26,6 +26,7 @@
% Spec: 3GPP TS 36.211 section 6.3.3 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [x] = lte_layer_mapper(d, v, style)
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_mib_pack
......@@ -25,6 +25,7 @@
% Spec: 3GPP TS 36.331 section 6.2.2 v10.0.0
% Notes: None
% Rev History: Ben Wojtowicz 10/30/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [mib] = lte_mib_pack(bw, phich_dur, phich_res, sfn)
% Check bandwidth
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_mib_unpack
......@@ -25,6 +25,7 @@
% Spec: 3GPP TS 36.331 section 6.2.2 v10.0.0
% Notes: None
% Rev History: Ben Wojtowicz 10/30/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [bw, phich_dur, phich_res, sfn] = lte_mib_unpack(mib)
% Check mib
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_modulation_demapper
......@@ -24,6 +24,7 @@
% Spec: 3GPP TS 36.211 section 7.1 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [bits] = lte_modulation_demapper(symbs, mod_type)
......
%
% Copyright 2011 Ben Wojtowicz
% Copyright 2011-2012 Ben Wojtowicz
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% it under the terms of the GNU Affero General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% GNU Affero General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU Affero General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Function: lte_modulation_mapper
......@@ -24,6 +24,7 @@
% Spec: 3GPP TS 36.211 section 7.1 v10.1.0
% Notes: None
% Rev History: Ben Wojtowicz 10/28/2011 Created
% Ben Wojtowicz 01/29/2012 Fixed license statement
%
function [symbs] = lte_modulation_mapper(bits, mod_type)
......