<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://alexforencich.com/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://alexforencich.com/wiki/feed.php">
        <title>Alex Forencich - en:scripts:matlab</title>
        <description></description>
        <link>https://alexforencich.com/wiki/</link>
        <image rdf:resource="https://alexforencich.com/wiki/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-05-14T22:25:16+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://alexforencich.com/wiki/en/scripts/matlab/enc8b10b?rev=1354416247&amp;do=diff"/>
                <rdf:li rdf:resource="https://alexforencich.com/wiki/en/scripts/matlab/enc64b66b?rev=1354416343&amp;do=diff"/>
                <rdf:li rdf:resource="https://alexforencich.com/wiki/en/scripts/matlab/enc64b67b?rev=1354416330&amp;do=diff"/>
                <rdf:li rdf:resource="https://alexforencich.com/wiki/en/scripts/matlab/start?rev=1354416219&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://alexforencich.com/wiki/_media/wiki/dokuwiki.svg">
        <title>Alex Forencich</title>
        <link>https://alexforencich.com/wiki/</link>
        <url>https://alexforencich.com/wiki/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://alexforencich.com/wiki/en/scripts/matlab/enc8b10b?rev=1354416247&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-12-02T02:44:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>8b/10b Encoder</title>
        <link>https://alexforencich.com/wiki/en/scripts/matlab/enc8b10b?rev=1354416247&amp;do=diff</link>
        <description>8b/10b Encoder


function [ enc ] = enc8b10b( bits )
%ENC8B10B 8b/10b encoder
%   Input: stream of bits to be encoded
%     Should be a multiple of 8 bits
%   Output: stream of 8b/10b encoded bits
%     Will be a multiple of 10 bits
% 
% Alex Forencich &lt;alex@alexforencich.com&gt;

% test case:
% enc = enc8b10b(reshape(de2bi(double(&#039;Hello!&#039;)&#039;,8),1,8*6));
% enc = char(&#039;0&#039;+enc);
% enc == &#039;010011100111010100011010101100100111001010101100010111010100&#039;

% sources:
% http://urchin.earth.li/~twic/The_Widme…</description>
    </item>
    <item rdf:about="https://alexforencich.com/wiki/en/scripts/matlab/enc64b66b?rev=1354416343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-12-02T02:45:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>64b/66b Encoder</title>
        <link>https://alexforencich.com/wiki/en/scripts/matlab/enc64b66b?rev=1354416343&amp;do=diff</link>
        <description>64b/66b Encoder


function [ enc ] = enc64b66b( bits )
%ENC64B66B 64b/66b encoder
%   Input: stream of bits to be encoded
%     Should be a multiple of 64 bits
%   Output: stream of 64b/66b encoded bits
%     Will be a multiple of 66 bits
% 
% Alex Forencich &lt;alex@alexforencich.com&gt;

% Sources:
% http://cp.literature.agilent.com/litweb/pdf/ads2008/numeric/ads2008/64b66bCoder.html
% http://grouper.ieee.org/groups/802/3/10G_study/public/jan00/walker_1_0100.pdf

bits = bits(:)&#039; &gt; 0;

rc = size(bits…</description>
    </item>
    <item rdf:about="https://alexforencich.com/wiki/en/scripts/matlab/enc64b67b?rev=1354416330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-12-02T02:45:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>64b/67b Encoder</title>
        <link>https://alexforencich.com/wiki/en/scripts/matlab/enc64b67b?rev=1354416330&amp;do=diff</link>
        <description>64b/67b Encoder


function [ enc ] = enc64b67b( bits )
%ENC64B66B 64b/66b encoder
%   Input: stream of bits to be encoded
%     Should be a multiple of 64 bits
%   Output: stream of 64b/67b encoded bits
%     Will be a multiple of 67 bits
% 
% Alex Forencich &lt;alex@alexforencich.com&gt;

% Sources:
% http://cp.literature.agilent.com/litweb/pdf/ads2008/numeric/ads2008/64b66bCoder.html
% http://grouper.ieee.org/groups/802/3/10G_study/public/jan00/walker_1_0100.pdf
% http://www.interlakenalliance.com/I…</description>
    </item>
    <item rdf:about="https://alexforencich.com/wiki/en/scripts/matlab/start?rev=1354416219&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-12-02T02:43:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Matlab Scripts</title>
        <link>https://alexforencich.com/wiki/en/scripts/matlab/start?rev=1354416219&amp;do=diff</link>
        <description>Matlab Scripts

Coding
8b/10b encoder64b/66b encoder64b/67b encoder</description>
    </item>
</rdf:RDF>
