Recent content by benjamin p north

  1. B

    Data compression with lissajous curve

    I was trying to take two numbers between zero and one and compress them into one number in a way that you can use trig to get back the original two numbers. Eg. X= cos t y=sin (sqrt2*t) Plug in x and y. Then solve for t. You can use t later to get back x and y. Hopefully t is shorter to...
  2. B

    Data compression with lissajous curve

    I was hoping this c++ file could be adapted to use as data compression or encryption #include <iostream> #include <cmath> using namespace std; double asil(double t) { cout<<"asil\n"; cout<< cos(t) << endl; double two = 2.0; cout<< sin(sqrt(two)*t) << endl; return sin(sqrt(two)*t); } int...
Back
Top