Skip to content

Commit 84d8a38

Browse files
committed
polar nrz encoding func
1 parent 927e9ad commit 84d8a38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

polar_nrz.m

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
function [encoded_data] = polar_nrz(data,A)
2+
encoded_data = (2*data-1)*A;
3+
end
4+

0 commit comments

Comments
 (0)