Skip to content

Instantly share code, notes, and snippets.

View satlavida's full-sized avatar

Satyajeet Nigade satlavida

View GitHub Profile
/**
* Tiles
*/
Body {
background: #515151;
min-height:100%;
margin: 0px;
}
.Tile {
namespace AppProgram
{
class Program
{
void Main()
{
Console.WriteLine("##Test##");
}
}
}
@satlavida
satlavida / cyclic_hardware.m
Last active April 17, 2019 16:24
Cyclic Encoding using Shift Registers
clc;
close all;
clear;
n = input('Enter n for cyclic code');
k = input('Enter k for cyclic code');
msg = input('Enter message bits of the length n-k');
N = n-k; %No of shift register%
poly = cyclpoly(n,k,'max');
@satlavida
satlavida / syndrome_generator.m
Created April 17, 2019 16:23
Syndrome Generator for cyclic codes
clc;
close all;
clear;
n = input('Enter n for cyclic code');
k = input('Enter k for cyclic code');
msg = input('Enter message bits of the length n');
N = n-k; %No of shift register%
poly = cyclpoly(n,k,'max');
<div class="centered">
<canvas id="sevensegment" height="400px" width="400px"></canvas>
</div>
clc;
clear all;
close all;
img = (imread('deer1.jpg'));
T = input('Input Threshold');
T1 = uint32(0);
T2 = uint32(0);
T1n = 0;