Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Сергей Сеткин
WiFi
Commits
b2345288
Commit
b2345288
authored
6 months ago
by
Сергей Сеткин
Browse files
Options
Download
Patches
Plain Diff
Upload New File
parent
429b9f42
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Matlab/ofdm.m
+36
-0
Matlab/ofdm.m
with
36 additions
and
0 deletions
+36
-0
Matlab/ofdm.m
0 → 100644
+
36
−
0
View file @
b2345288
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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets