Commit b2345288 authored by Сергей Сеткин's avatar Сергей Сеткин
Browse files

Upload New File

parent 429b9f42
No related merge requests found
Showing with 36 additions and 0 deletions
+36 -0
Matlab/ofdm.m 0 → 100644
function [out] = OFDM_modulation(input) %верим, что всегда будет корректное кол-во битов на входе
%input=zeros(26,1);
%input=[input, ones(26,1)];
out = [];
j = 1;
while (j < length(input))
temp = zeros(1,64);
temp(11) = 1;
temp(25) = 1;
temp(39) = 1;
temp(53) = -1;
for i=4:10
temp(i)=input(i-3);
end
for i=12:24
temp(i)=input(i-4);
end
for i=26:31
temp(i)=input(i-5);
end
for i=33:38
temp(i)=input(i-6);
end
for i=40:52
temp(i)=input(i-7);
end
for i=54:60
temp(i)=input(i-8);
end
out = [out temp]
j = j + 52;
end
out=ifft(out);
end
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment